]> git.lyx.org Git - features.git/blobdiff - src/insets/insettext.C
fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
[features.git] / src / insets / insettext.C
index 1176130eff5816a9c3dbb584ee511fb420e35be0..4ced0622b676bdbf453dcd0bc9472940743b67ba 100644 (file)
@@ -626,37 +626,14 @@ InsetText::LocalDispatch(BufferView * bv,
 }
 
 
-int InsetText::Latex(ostream & os, signed char /*fragile*/,
-#ifdef USE_OSTREAM_ONLY
-                    bool) const
-#else
-                    bool free_spc) const
-#endif
+int InsetText::Latex(ostream & os, signed char /*fragile*/, bool) const
 {
-#ifdef USE_OSTREAM_ONLY
        TexRow texrow;
        int ret = par->SimpleTeXOnePar(os, texrow);
        return ret;
-#else
-    string fstr;
-
-    int i = Latex(fstr, fragile, free_spc);
-    os << fstr;
-    return i;
-#endif
 }
 
 
-#ifndef USE_OSTREAM_ONLY
-int InsetText::Latex(string & file, signed char /* fragile */) const
-{
-    TexRow texrow;
-
-    return par->SimpleTeXOnePar(file, texrow);
-}
-#endif
-
-
 void InsetText::Validate(LaTeXFeatures & features) const
 {
     par->validate(features);