]> git.lyx.org Git - lyx.git/blobdiff - src/support/Messages.cpp
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
[lyx.git] / src / support / Messages.cpp
index d1a8d33a48cdba4b33960218682afb177948f27f..1e49cc62b368d4ed9d5ba9f33c8df7387ad4a1de 100644 (file)
 
 using namespace std;
 
-namespace {
+namespace lyx {
+
+// Instanciate static member.
+string Messages::main_lang_;
 
-using lyx::docstring;
-using lyx::from_ascii;
+namespace {
 
 void cleanTranslation(docstring & trans) 
 {
@@ -48,7 +50,8 @@ void cleanTranslation(docstring & trans)
        }
 }
 
-}
+} // anonymous
+} // lyx
 
 
 #ifdef ENABLE_NLS
@@ -83,10 +86,6 @@ void Messages::setDefaultLanguage()
 }
 
 
-// Instanciate static member.
-string Messages::main_lang_;
-
-
 // This version use the traditional gettext.
 Messages::Messages(string const & l)
        : lang_(l), warned_(false)