]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetHyperlink.cpp
Well, it turns out that we need a different return value for the xhtml
[lyx.git] / src / insets / InsetHyperlink.cpp
index 0fb69a7cb44873594d43e03436618c0f6fa4945f..aa4ff3af7d784655d07bacb73bb8e753945067b6 100644 (file)
@@ -181,7 +181,7 @@ int InsetHyperlink::docbook(odocstream & os, OutputParams const &) const
 }
 
 
-int InsetHyperlink::xhtml(odocstream & os, OutputParams const &) const
+docstring InsetHyperlink::xhtml(odocstream & os, OutputParams const &) const
 {
        os << "<a href=\""
                        // FIXME Do we need to do more escaping than this?
@@ -189,7 +189,7 @@ int InsetHyperlink::xhtml(odocstream & os, OutputParams const &) const
           << "\">"
           << getParam("name")
           << "</a>";
-       return 0;
+       return docstring();
 }