]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.C
tostr -> convert and some bformat work
[lyx.git] / src / support / filetools.C
index 7f3a6c5e96a4937211defcf564ad8462a1cc6649..4b29034661b3e84e5c6df4810061214b1299bf4c 100644 (file)
@@ -497,7 +497,7 @@ string const createBufferTmpDir()
        // We are in our own directory.  Why bother to mangle name?
        // In fact I wrote this code to circumvent a problematic behaviour (bug?)
        // of EMX mkstemp().
-       string const tmpfl = os::getTmpDir() + "/lyx_tmpbuf" + tostr(count++);
+       string const tmpfl = os::getTmpDir() + "/lyx_tmpbuf" + convert<string>(count++);
        if (mkdir(tmpfl, 0777)) {
                lyxerr << "LyX could not create the temporary directory '"
                       << tmpfl << "'" << endl;