X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetgraphics.C;h=dd591b24522174529acae38fb4a273736b386f04;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=035142babc80582e51f30acc74cd8dc7011cb69c;hpb=85798535a19919e82cc94a177a8414c542a9c5bf;p=lyx.git diff --git a/src/insets/insetgraphics.C b/src/insets/insetgraphics.C index 035142babc..dd591b2452 100644 --- a/src/insets/insetgraphics.C +++ b/src/insets/insetgraphics.C @@ -22,6 +22,7 @@ #include "support/FileInfo.h" #include "support/filetools.h" +using std::ostream; using std::endl; extern string system_lyxdir; @@ -191,7 +192,7 @@ void InsetGraphics::Read(LyXLex & /*lex*/) int InsetGraphics::Latex(ostream & os, - signed char /*fragile*/, bool/*fs*/) const + bool /*fragile*/, bool/*fs*/) const { // MISSING: We have to decide how to do the order of the options // that is depentant of order, like witdth, height, andlge. Should @@ -204,7 +205,7 @@ int InsetGraphics::Latex(ostream & os, string command("\\insetgraphics"); #ifdef HAVE_SSTREAM - ostringstream options; + std::ostringstream options; #else ostrstream options; #endif @@ -333,6 +334,12 @@ int InsetGraphics::Latex(ostream & os, } +int InsetGraphics::Ascii(ostream &) const +{ + return 0; +} + + int InsetGraphics::Linuxdoc(ostream &) const { return 0;