]> git.lyx.org Git - features.git/commitdiff
Fix bug #10883.
authorRichard Heck <rgheck@lyx.org>
Thu, 22 Feb 2018 05:21:41 +0000 (00:21 -0500)
committerRichard Heck <rgheck@lyx.org>
Thu, 22 Feb 2018 05:21:41 +0000 (00:21 -0500)
src/frontends/qt4/GuiSendto.cpp

index 627ddf2d3f59734b7cd9290f9e595ba6a50b2105..470852efc373b8a7429d93c01063cf8d16826cc9 100644 (file)
@@ -143,14 +143,14 @@ void GuiSendTo::dispatchParams()
        if (!format_ || format_->name().empty())
                return;
 
-       string data = format_->name();
+       string sdata = format_->name();
        if (!command_.isEmpty())
-               data += " " + fromqstr(command_);
+               sdata += " " + fromqstr(command_);
 
        FuncCode const lfun = command_.isEmpty() ?
                LFUN_BUFFER_EXPORT : getLfun();
 
-       dispatch(FuncRequest(lfun, data));
+       dispatch(FuncRequest(lfun, sdata));
 }
 
 Dialog * createGuiSendTo(GuiView & lv) { return new GuiSendTo(lv); }