]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.cpp
add FileName::renameTo() method.
[lyx.git] / src / support / filetools.cpp
index feb90e752c928795ed58d2e151782f3025274416..65cc5ef29234e6e3f8e496e9734f0e69885531e0 100644 (file)
@@ -887,7 +887,7 @@ string const readBB_from_PSFile(FileName const & file)
 
        static boost::regex bbox_re(
                "^%%BoundingBox:\\s*([[:digit:]]+)\\s+([[:digit:]]+)\\s+([[:digit:]]+)\\s+([[:digit:]]+)");
-       std::ifstream is(file_.toFilesystemEncoding().c_str());
+       ifstream is(file_.toFilesystemEncoding().c_str());
        while (is) {
                string s;
                getline(is,s);