]> git.lyx.org Git - lyx.git/blobdiff - src/support/copy.C
remove commented HAVE_SSTREAM code
[lyx.git] / src / support / copy.C
index 29eb28394bc3c7030852e57a3ddfad82cfcdc9dc..7324d445681efc00ab011cf22b5a32e9714fb75f 100644 (file)
@@ -16,9 +16,9 @@ bool lyx::copy(string const & from, string const & to)
        return Systemcalls().startscript(Systemcalls::System,
                                         command) == 0;
 #else
-       ifstream ifs(from.c_str());
+       std::ifstream ifs(from.c_str());
        if (!ifs) return false;
-       ofstream ofs(to.c_str(), ios::out|ios::trunc);
+       std::ofstream ofs(to.c_str(), std::ios::out|std::ios::trunc);
        if (!ofs) return false;
        ofs << ifs.rdbuf();
        if (ofs.good()) return true;