]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.C
fix compilation pb ; update eu.po
[lyx.git] / src / insets / inseturl.C
index 161fe59fa9ca3ef5bec001c92026a10ad77d808b..cb3fe5f22ebf5cdd9bc918baab110a94920f801e 100644 (file)
@@ -10,6 +10,7 @@
 #include "LyXView.h"
 #include "debug.h"
 #include "frontends/Dialogs.h"
+#include "gettext.h"
 
 using std::ostream;
 
@@ -28,12 +29,12 @@ void InsetUrl::Edit(BufferView * bv, int, int, unsigned int)
 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 +55,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() << "]";