]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.cpp
CMake: fix merged build, seems GCC could not handle the namespaces correctly
[features.git] / src / frontends / qt4 / GuiView.cpp
index fe0c201b8dc3fe26d20f4ab403dcc02555094797..e5556b1beaea2cfa3b145b76269a9a10d3bdda49 100644 (file)
@@ -2722,7 +2722,8 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
                case LFUN_BUFFER_EXPORT: {
                        if (!doc_buffer)
                                break;
-                       if (cmd.argument() == "custom") {
+                       // GCC only sees strfwd.h when building merged
+                       if (::lyx::operator==(cmd.argument(), "custom")) {
                                dispatch(FuncRequest(LFUN_DIALOG_SHOW, "sendto"), 
                                         dr);
                                break;