]> git.lyx.org Git - lyx.git/blobdiff - src/text.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / text.C
index da1a193df06b25d6ab9063f35f0ad7b7dbf58d2e..42def16a1997b3c9f67a01ae75b1f31e3f4d9b08 100644 (file)
@@ -40,7 +40,11 @@ using std::min;
 using std::endl;
 using std::pair;
 
-static const int LYX_PAPER_MARGIN = 20;
+namespace {
+
+int const LYX_PAPER_MARGIN = 20;
+
+} // namespace anon
 
 extern int bibitemMaxWidth(BufferView *, LyXFont const &);