]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.C
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / inseturl.C
index 8a99bce76364bafe7513ce035356a0207cc3f249..ae2c16a9fe1028ce8dfef62db6b4a6dfe2470875 100644 (file)
@@ -174,7 +174,7 @@ string InsetUrl::getScreenLabel() const
 
 
 int InsetUrl::Latex(ostream & os,
-                   signed char fragile, bool /*free_spc*/) const
+                   bool fragile, bool /*free_spc*/) const
 {
        if (!getOptions().empty())
                os << getOptions() + ' ';
@@ -185,6 +185,16 @@ int InsetUrl::Latex(ostream & os,
 }
 
 
+int InsetUrl::Ascii(ostream & os) const
+{
+       if (getOptions().empty())
+               os << "[" << getContents() << "]";
+       else
+               os << "[" << getContents() << "||" <<  getOptions() << "]";
+       return 0;
+}
+
+
 int InsetUrl::Linuxdoc(ostream & os) const
 {
        os << "<" << getCmdName()