]> git.lyx.org Git - features.git/blobdiff - src/client/gettext.cpp
Fix bug #5204: Undo removes text selection
[features.git] / src / client / gettext.cpp
index f5b99cdf7fcbf1a6b5d43bb0498adff1f232a9f7..d74960254623ca0574696a624e8811beb1f5982b 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
  * Full author contact details are available in file CREDITS.
@@ -14,6 +14,7 @@
 #include "support/gettext.h"
 #include "Messages.h"
 
+using namespace std;
 
 namespace lyx {
 
@@ -22,12 +23,10 @@ namespace lyx {
 #  include <locale.h>
 #endif
 
-using std::string;
-
 
 namespace {
 
-Messages & getLyXMessages()
+Messages const & getLyXMessages()
 {
        static Messages lyx_messages;