X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsConverter.cpp;h=4930f0d7a0a98888726df8f706d7652ff751b036;hb=f887efedf11c198d9b6cc19911fa0a32a93496f3;hp=207c58cb7b37f722e41d43015b74c50b9f4fc5fc;hpb=73368ed2d97728ee3ec889383b3803d8e3309e9d;p=lyx.git diff --git a/src/graphics/GraphicsConverter.cpp b/src/graphics/GraphicsConverter.cpp index 207c58cb7b..4930f0d7a0 100644 --- a/src/graphics/GraphicsConverter.cpp +++ b/src/graphics/GraphicsConverter.cpp @@ -142,6 +142,7 @@ Converter::Impl::Impl(FileName const & from_file, string const & to_file_base, << "\n--------------------------------------\n"); // Output the script to file. + // FIXME THREAD static int counter = 0; script_file_ = FileName(onlyPath(to_file_base) + "lyxconvert" + convert(counter++) + ".py"); @@ -288,6 +289,7 @@ static void build_script(string const & from_file, // Create a temporary base file-name for all intermediate steps. // Remember to remove the temp file because we only want the name... + // FIXME THREAD static int counter = 0; string const tmp = "gconvert" + convert(counter++); string const to_base = FileName::tempName(tmp).toFilesystemEncoding();