]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.C
Fix my breakage. Sorry guys.
[lyx.git] / src / LaTeX.C
index 8609c3ed53dc20f92c5167fc0305b71f8574d928..4ccd0cb57c01dbdb9d2795e4744e7c678cf53e0b 100644 (file)
@@ -22,7 +22,7 @@
 #include "DepTable.h"
 #include "support/filetools.h"
 #include "support/FileInfo.h"
-#include "support/tostr.h"
+#include "support/convert.h"
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
 #include "support/systemcall.h"
@@ -84,7 +84,7 @@ namespace {
 
 string runMessage(unsigned int count)
 {
-       return bformat(_("Waiting for LaTeX run number %1$s"), tostr(count));
+       return bformat(_("Waiting for LaTeX run number %1$d"), count);
 }
 
 } // anon namespace
@@ -412,7 +412,7 @@ LaTeX::scanAuxFiles(string const & file)
        result.push_back(scanAuxFile(file));
 
        for (int i = 1; i < 1000; ++i) {
-               string file2 = ChangeExtension(file, "") + '.' + tostr(i)
+               string file2 = ChangeExtension(file, "") + '.' + convert<string>(i)
                        + ".aux";
                FileInfo fi(file2);
                if (!fi.exist())