]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetgraphics.C
index 035142babc80582e51f30acc74cd8dc7011cb69c..dd591b24522174529acae38fb4a273736b386f04 100644 (file)
@@ -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;