Compilation fix for windows

Since commit 7ac70092, lyx::dispatch returns a DispatchResult const &,
which is ignored in the cases below. Nevertheless, the windows
compiler complains that it does not know this type. Gcc and clang can
deal with it without problem.
This commit is contained in:
Jean-Marc Lasgouttes 2015-07-16 09:45:45 +02:00
parent 0f1fdaaa97
commit f51d7fdd2a
2 changed files with 7 additions and 0 deletions

View File

@ -12,9 +12,13 @@
#include "Action.h"
// DispatchResult.h is needed by the windows compiler because lyx::dispatch
// returns a DispatchResult const reference. Gcc does not complain. Weird...
#include "DispatchResult.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
#include "LyX.h"
#include "qt_helpers.h"
#include "support/debug.h"

View File

@ -16,6 +16,9 @@
#include "GuiView.h"
#include "qt_helpers.h"
// DispatchResult.h is needed by the windows compiler because lyx::dispatch
// returns a DispatchResult const reference. Gcc does not complain. Weird...
#include "DispatchResult.h"
#include "FuncStatus.h"
#include "FuncRequest.h"
#include "LyX.h"