]> git.lyx.org Git - features.git/blobdiff - src/insets/lyxinset.h
change to use only ostream to write latex from insets
[features.git] / src / insets / lyxinset.h
index c0db3273dcf1ae1428f22fa68703960256122123..5c3b3ee9083810f42ee3a6825c5bc30d63260b56 100644 (file)
@@ -26,6 +26,8 @@ class BufferView;
 
 struct LaTeXFeatures;
 
+#define USE_OSTREAM_ONLY 1
+
 /// Insets
 class Inset {
 public:
@@ -113,8 +115,10 @@ public:
         fragile commands by adding a \protect before.
         */
        virtual int Latex(ostream &, signed char fragile) const = 0;
+#ifndef USE_OSTREAM_ONLY
        ///
        virtual int Latex(string & file, signed char fragile) const = 0;
+#endif
        ///
        virtual int Linuxdoc(string & /*file*/) const = 0;
        ///