]> git.lyx.org Git - features.git/blobdiff - src/insets/insetlabel.C
change to use only ostream to write latex from insets
[features.git] / src / insets / insetlabel.C
index 9e5143df54f8e7d4046b4f3cafe507a7a008eef7..697a524079e1da3088df8820d33eb4218134d388 100644 (file)
@@ -50,11 +50,13 @@ int InsetLabel::Latex(ostream & os, signed char /*fragile*/) const
 }
 
 
+#ifndef USE_OSTREAM_ONLY
 int InsetLabel::Latex(string & file, signed char /*fragile*/) const
 {
        file += escape(getCommand());
        return 0;
 }
+#endif
 
 
 int InsetLabel::Linuxdoc(string & file) const