]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
Applied Angus patch to compile on DEC C++ and to avoid name clashes
[lyx.git] / src / converter.C
index cb1b84653b3cf94a665c6a792c077e26d74fb584..ea8d9cc304aa486dd3450f526766ffb3df4fb018 100644 (file)
@@ -38,13 +38,15 @@ using std::find_if;
 using std::reverse;
 using std::sort;
 
-static string const token_from("$$i");
-static string const token_base("$$b");
-static string const token_to("$$o");
+namespace {
+
+string const token_from("$$i");
+string const token_base("$$b");
+string const token_to("$$o");
 
 //////////////////////////////////////////////////////////////////////////////
 
-static inline
+inline
 string const add_options(string const & command, string const & options)
 {
        string head;
@@ -52,6 +54,8 @@ string const add_options(string const & command, string const & options)
        return head + ' ' + options + ' ' + tail;
 }
 
+} // namespace anon
+
 //////////////////////////////////////////////////////////////////////////////
 
 bool Format::dummy() const