]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.C
Add a bunch of c_str() for string stream uses; remove lyxfunc symbol-insert.
[lyx.git] / src / support / filetools.C
index c1052a180a7b40891cb2ecce89d15de0b465475e..c9605aa7f8f87dd153982a1565b8ca1601130828 100644 (file)
@@ -746,7 +746,7 @@ string const GetFileContents(string const & fname)
                if (ifs && ofs) {
                        ofs << ifs.rdbuf();
                        ifs.close();
-                       return ofs.str();
+                       return ofs.str().c_str();
                }
        }
        lyxerr << "LyX was not able to read file '" << fname << "'" << endl;