]> git.lyx.org Git - lyx.git/blobdiff - src/text2.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / text2.C
index 5ae5ec6487eac3e31b04896802446457485c4145..213fa9aa5107f78337990ff0d9335029d2b7e193 100644 (file)
@@ -1655,7 +1655,9 @@ char loweralphaCounter(int n)
 }
 
 
-static inline
+namespace {
+
+inline
 char alphaCounter(int n)
 {
        if (n < 1 || n > 26)
@@ -1665,7 +1667,7 @@ char alphaCounter(int n)
 }
 
 
-static inline
+inline
 char hebrewCounter(int n)
 {
        static const char hebrew[22] = {
@@ -1680,7 +1682,7 @@ char hebrewCounter(int n)
 }
 
 
-static inline
+inline
 string const romanCounter(int n)
 {
        static char const * roman[20] = {
@@ -1695,6 +1697,8 @@ string const romanCounter(int n)
                return roman[n-1];
 }
 
+} // namespace anon
+
 
 // set the counter of a paragraph. This includes the labels
 void LyXText::SetCounter(Buffer const * buf, LyXParagraph * par) const