]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlabel.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetlabel.C
index b056de2acc890c73dbbfb07e5de8f088df048c0b..0973ad239cd1b419a570cc4609693deaf86241a3 100644 (file)
@@ -15,6 +15,9 @@
 #endif
 
 #include "insetlabel.h"
+#include "support/LOstream.h"
+
+using std::ostream;
 
 /* Label. Used to insert a label automatically */
 
@@ -44,12 +47,18 @@ string InsetLabel::getLabel(int) const
 
 
 int InsetLabel::Latex(ostream & os,
-                     signed char /*fragile*/, bool /*fs*/) const
+                     bool /*fragile*/, bool /*fs*/) const
 {
        os << escape(getCommand());
        return 0;
 }
 
+int InsetLabel::Ascii(ostream & os) const
+{
+       os << "<" << getContents()  << ">";
+       return 0;
+}
+
 
 int InsetLabel::Linuxdoc(ostream & os) const
 {