]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.C
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insetquotes.C
index ffbf0c4381e7102e36f53729d187ca891edcb728..eb7c87e454086a3daf03fd07dfb4d88d9e4f1ca6 100644 (file)
@@ -328,10 +328,10 @@ int InsetQuotes::latex(Buffer const &, odocstream & os,
 }
 
 
-int InsetQuotes::plaintext(Buffer const &, odocstream & os,
-                      OutputParams const &) const
+int InsetQuotes::plaintext(Buffer const & buf, odocstream & os,
+                          OutputParams const &) const
 {
-       os << '"';
+       os << dispString(buf.params().language);
        return 0;
 }
 
@@ -354,10 +354,9 @@ int InsetQuotes::docbook(Buffer const &, odocstream & os,
 }
 
 
-int InsetQuotes::textString(Buffer const & buf, odocstream & os,
-                      OutputParams const & op) const
+void InsetQuotes::textString(Buffer const & buf, odocstream & os) const
 {
-       return plaintext(buf, os, op);
+       os << dispString(buf.params().language);
 }