]> git.lyx.org Git - lyx.git/blobdiff - src/support/filetools.C
small changes read ChangeLog
[lyx.git] / src / support / filetools.C
index fcf8b73aec10385dbbf03df4537015135666e0f0..52e642203bf262f1fe9295f5ee27aabd6d891ece 100644 (file)
@@ -735,7 +735,7 @@ string GetFileContents(string const & fname) {
                        ofs << ifs.rdbuf();
                        ifs.close();
 #ifdef HAVE_SSTREAM
-                       return ofs.str();
+                       return ofs.str().c_str();
 #else
                        ofs << '\0';
                        char const * tmp = ofs.str();