X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetlatex.C;h=38175672a3d622c6d279a7d054c341b70cdfc86f;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=a60f7b9ddb121cb095e0e4d67bd8a56dc9dda5e3;hpb=4866387e321a8e867dabcb70299194c9e5edef53;p=lyx.git diff --git a/src/insets/insetlatex.C b/src/insets/insetlatex.C index a60f7b9ddb..38175672a3 100644 --- a/src/insets/insetlatex.C +++ b/src/insets/insetlatex.C @@ -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;