]> git.lyx.org Git - features.git/blobdiff - src/paragraph.C
Add a bunch of c_str() for string stream uses; remove lyxfunc symbol-insert.
[features.git] / src / paragraph.C
index d3e63a193bedfd955a5f3c2fbb18fd5cfb715b1e..ffdb776e7f071d692abd3b1ec7935c9049e60f4a 100644 (file)
@@ -3935,7 +3935,7 @@ string const LyXParagraph::String(Buffer const * buffer, bool label)
                         GetInset(i)->LyxCode() == Inset::MATH_CODE) {
                        std::ostringstream ost;
                        GetInset(i)->Ascii(buffer, ost);
-                       s += subst(ost.str(),'\n',' ');
+                       s += subst(ost.str().c_str(),'\n',' ');
                }
        }
 
@@ -3975,7 +3975,7 @@ string const LyXParagraph::String(Buffer const * buffer,
                else if (c == META_INSET) {
                        std::ostringstream ost;
                        GetInset(i)->Ascii(buffer, ost);
-                       s += ost.str();
+                       s += ost.str().c_str();
                }
        }