]> git.lyx.org Git - lyx.git/blobdiff - src/sgml.cpp
Add some missing files to autoconf's dist
[lyx.git] / src / sgml.cpp
index 4842b07912e8f2f4524782a12093a5b3865174b8..fdd0ed7270cf32ed4ba5b706eb0622a553837024 100644 (file)
@@ -102,8 +102,11 @@ docstring sgml::escapeString(docstring const & raw)
 }
 
 
-docstring const sgml::uniqueID(docstring const label)
+docstring const sgml::uniqueID(docstring const label)
 {
+       // FIXME THREAD
+       // It seems unlikely there could be a problem here,
+       // but we could have concurrent access, in principle.
        static unsigned int seed = 1000;
        return label + convert<docstring>(++seed);
 }
@@ -132,6 +135,7 @@ docstring sgml::cleanID(Buffer const & buf, OutputParams const & runparams,
 
        docstring content;
 
+       // FIXME THREAD
        typedef map<docstring, docstring> MangledMap;
        static MangledMap mangledNames;
        static int mangleID = 1;