]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatex.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetlatex.C
index 590086a8dcab69604d1c7da959d7dedaed738106..38175672a3d622c6d279a7d054c341b70cdfc86f 100644 (file)
@@ -92,14 +92,21 @@ void InsetLatex::Read(LyXLex & lex)
 }
 
 
-int InsetLatex::Latex(FILE * file, signed char /*fragile*/)
+int InsetLatex::Latex(FILE * file, signed char /*fragile*/, bool /*fs*/)
 {
        fprintf(file, "%s", contents.c_str());
        return 0;
 }
 
 
-int InsetLatex::Latex(string & file, signed char /*fragile*/)
+int InsetLatex::Latex(string & file, signed char /*fragile*/, bool /*fs*/)
+{
+       file += contents;
+       return 0;
+}
+
+
+int InsetLatex::Ascii(string & file)
 {
        file += contents;
        return 0;
@@ -126,7 +133,7 @@ bool InsetLatex::Deletable() const
 }
 
 
-Inset * InsetLatex::Clone()
+InsetLatex * InsetLatex::Clone() const
 {
        InsetLatex * result = new InsetLatex(contents);
        return result;