]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
fix "make dist" target
[lyx.git] / src / converter.C
index 818c8eb81b416fc5f1065e4e19a0dfdf78fec59c..604e4d70f4048428c34125581fcfeaae90758d22 100644 (file)
@@ -28,7 +28,6 @@
 #include "lyx_gui_misc.h"
 #include "lyx_cb.h" // ShowMessage()
 #include "support/lyxfunctional.h"
-#include "lyxfunc.h"
 #include "gettext.h"
 
 using std::vector;
@@ -818,8 +817,7 @@ bool Converters::runLaTeX(Buffer const * buffer, string const & command)
 
        if (bv) {
                ProhibitInput(bv);
-               bv->owner()->getLyXFunc()->Dispatch(LFUN_MESSAGE,
-                                                   _("Running LaTeX..."));
+               bv->owner()->message(_("Running LaTeX..."));
                // Remove all error insets
                need_redraw = bv->removeAutoInsets();
        }