]> git.lyx.org Git - features.git/blobdiff - src/graphics/GraphicsConverter.cpp
Simplify FileName::tempName().
[features.git] / src / graphics / GraphicsConverter.cpp
index 2898f624f4ab56de307e4ee916cd87b493beaf4a..f9847d8cdb7929a1dbfc8b035768d224f148a0b0 100644 (file)
@@ -293,7 +293,7 @@ static void build_script(FileName const & from_file,
        // Remember to remove the temp file because we only want the name...
        static int counter = 0;
        string const tmp = "gconvert" + convert<string>(counter++);
-       FileName const to_base = FileName::tempName(FileName(), tmp);
+       FileName const to_base = FileName::tempName(tmp);
        to_base.removeFile();
 
        // Create a copy of the file in case the original name contains