X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgettext.C;h=925e433363d50ab80972a4c4c70d3f5df129db64;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=ec1ea632521d3bcb71b921bfc3281cb502d0a160;hpb=43b77ba2d722cdb8a9437926f839c1dcbf3c0b89;p=lyx.git diff --git a/src/gettext.C b/src/gettext.C index ec1ea63252..925e433363 100644 --- a/src/gettext.C +++ b/src/gettext.C @@ -14,21 +14,22 @@ #include "gettext.h" #include "messages.h" #include "support/environment.h" -#include "support/docstring.h" + + +namespace lyx { #ifdef HAVE_LOCALE_H # include #endif -using lyx::support::setEnv; -using lyx::docstring; +using support::setEnv; using std::string; namespace { -Messages & getLyXMessages() +static Messages & getLyXMessages() { static Messages lyx_messages; @@ -65,3 +66,6 @@ void locale_init() } #endif + + +} // namespace lyx