X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FMessages.cpp;h=cbead2110636f7877040124c425bdfa664735e5d;hb=ca339eb1991efcab02a5f1b7f33387b35df2a416;hp=5fbd3ccbb22a18bd83f66cc4280400062fa2e6be;hpb=f630be890494c849981e4fb52ea4740506e92bed;p=lyx.git diff --git a/src/Messages.cpp b/src/Messages.cpp index 5fbd3ccbb2..cbead21106 100644 --- a/src/Messages.cpp +++ b/src/Messages.cpp @@ -16,7 +16,7 @@ #include "support/docstring.h" #include "support/environment.h" #include "support/filetools.h" -#include "support/package.h" +#include "support/Package.h" #include "support/unicode.h" #include @@ -82,7 +82,7 @@ docstring const Messages::get(string const & m) const return it->second; // The string was not found, use gettext to generate it: - // In this order, see support/filetools.C: + // In this order, see support/filetools.cpp: string lang = getEnv("LC_ALL"); if (lang.empty()) { lang = getEnv("LC_MESSAGES"); @@ -166,7 +166,7 @@ docstring const Messages::get(string const & m) const #endif setlocale(LC_CTYPE, oldCTYPE.c_str()); - std::pair result = + std::pair result = cache_.insert(std::make_pair(m, translated)); BOOST_ASSERT(result.second);