]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.cpp
Fix Coverity false positive for null-pointer dereference
[lyx.git] / src / support / Messages.cpp
index c87b6b976da36d3795f59390d64c687459448d2c..842697ed538ed4328a60340031b2fcc381dc1d26 100644 (file)
@@ -83,9 +83,8 @@
 
 #include "support/lassert.h"
 
-#include <boost/cstdint.hpp>
-
 #include <cerrno>
+#include <cstdint>
 #include <fstream>
 #include <utility>
 
@@ -94,7 +93,6 @@
 #endif
 
 using namespace std;
-using boost::uint32_t;
 
 namespace lyx {
 
@@ -388,6 +386,11 @@ bool Messages::available(string const & /* c */)
        return false;
 }
 
+docstring const Messages::getIfFound(string const & /* m */) const
+{
+       return docstring();
+}
+
 } // namespace lyx
 
 #endif