]> git.lyx.org Git - features.git/commitdiff
cosmetics
authorAndré Pönitz <poenitz@gmx.net>
Wed, 14 Nov 2007 21:24:18 +0000 (21:24 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 14 Nov 2007 21:24:18 +0000 (21:24 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21616 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp
src/Messages.cpp

index 1af3d82048e2e65a82e7a1dada6ad49d1f052412..580e1023b6338400052f7f60bd7cbf4c1e44450c 100644 (file)
@@ -43,7 +43,6 @@
 #include "LyX.h"
 #include "LyXRC.h"
 #include "LyXVC.h"
-#include "Messages.h"
 #include "output_docbook.h"
 #include "output.h"
 #include "output_latex.h"
index 66b974cfa16bfb4b291f048548c85e8ea42b2036..3332cd8b9659b1aac50cb984af78ea97bdeeb8fa 100644 (file)
 
 #include <cerrno>
 
-namespace {
-boost::regex const reg("^([^\\[]*)\\[\\[[^\\]]*\\]\\]$");
-};
-
 #ifdef ENABLE_NLS
 
 #ifdef HAVE_LOCALE_H
@@ -47,6 +43,8 @@ using std::string;
 
 namespace lyx {
 
+static boost::regex const reg("^([^\\[]*)\\[\\[[^\\]]*\\]\\]$");
+
 using support::package;
 using support::getEnv;
 using support::setEnv;