]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.C
updates to minipage inset
[lyx.git] / src / insets / inseturl.C
index a63a7ef4124146fef3f0c4d98d1bc52198498313..b95bc270af6ac96a00976210b768fecb7f4eb572 100644 (file)
@@ -25,15 +25,15 @@ void InsetUrl::Edit(BufferView * bv, int, int, unsigned int)
 }
 
 
-string InsetUrl::getScreenLabel() const
+string const InsetUrl::getScreenLabel() const
 {
        string temp;
-       ifgetCmdName() == "url" )
+       if (getCmdName() == "url" )
                temp = _("Url: ");
        else 
                temp = _("HtmlUrl: ");
 
-       if(!getOptions().empty())
+       if (!getOptions().empty())
                temp += getOptions();
        else
                temp += getContents();
@@ -54,7 +54,7 @@ int InsetUrl::Latex(Buffer const *, ostream & os,
 }
 
 
-int InsetUrl::Ascii(Buffer const *, ostream & os) const
+int InsetUrl::Ascii(Buffer const *, ostream & os, int) const
 {
        if (getOptions().empty())
                os << "[" << getContents() << "]";