]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiHyperlink.cpp
QDialogButtonBox for the remaining dialogs.
[lyx.git] / src / frontends / qt4 / GuiHyperlink.cpp
index 4bf50a094abc9430ecda699242cef05f938fdfd6..c063ca236260789badf89e16a8178c55e010e019 100644 (file)
@@ -24,8 +24,8 @@ namespace lyx {
        namespace frontend {
                bool operator==(lyx::docstring const & d, char const * c)
                  { return lyx::operator ==(d, c); }
-       }
-}
+       } // namespace frontend
+} // namespace lyx
 #endif
 
 
@@ -71,10 +71,10 @@ void GuiHyperlink::paramsToDialog(Inset const * inset)
 }
 
 
-bool GuiHyperlink::initialiseParams(std::string const & data)
+bool GuiHyperlink::initialiseParams(std::string const & sdata)
 {
        InsetCommandParams params(insetCode());
-       if (!InsetCommand::string2params(data, params))
+       if (!InsetCommand::string2params(sdata, params))
                return false;
        targetED->setText(toqstr(params["target"]));
        nameED->setText(toqstr(params["name"]));