]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetref.C
index 3e5256adc6621405b10957e3c4ab21cfb866cbec..0df28abc6d3d3b5dc56c5d2ee2aefedff12dae1e 100644 (file)
@@ -16,6 +16,8 @@
 #include "commandtags.h"
 #include "gettext.h"
 
+using std::ostream;
+
 extern BufferView * current_view;
 
 
@@ -68,7 +70,7 @@ string InsetRef::getScreenLabel() const
 
 
 int InsetRef::Latex(ostream & os,
-                   signed char /*fragile*/, bool /*fs*/) const
+                   bool /*fragile*/, bool /*fs*/) const
 {
        if(getOptions().empty())
                os << escape(getCommand());
@@ -82,6 +84,13 @@ int InsetRef::Latex(ostream & os,
 }
 
 
+int InsetRef::Ascii(ostream & os) const
+{
+       os << "[" << getContents() << "]";
+       return 0;
+}
+
+
 int InsetRef::Linuxdoc(ostream & os) const
 {
        os << "<ref id=\"" << getContents()