summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-16 12:06:38 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-16 12:07:05 +0300
commit2f316b07a502b527876462d524061dbf6c9a04d5 (patch)
tree76205fd8ef2107eb310008a56aedbd093be23ed2
parent251fd06de2c7bd2e46fd257d848acbebb93e1fab (diff)
Avoid risk of "unused" header removal
Change-Id: I4cf2bec8fdcb03b4012de50ed0ce03a8e5154d82
-rw-r--r--sw/source/core/view/viewsh.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 12f134c4972a..af543fd49b32 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+
#include <touch/touch.h>
#include <com/sun/star/accessibility/XAccessible.hpp>
@@ -55,7 +57,6 @@
#include <svtools/colorcfg.hxx>
#include <vcl/bmpacc.hxx>
#include <vcl/alpha.hxx>
-#include <vcl/sysdata.hxx>
#include <svtools/accessibilityoptions.hxx>
#include <accessibilityoptions.hxx>
#include <statstr.hrc>
@@ -72,6 +73,10 @@
#include <vcl/svapp.hxx>
#include <svx/sdrpaintwindow.hxx>
+#if !HAVE_FEATURE_DESKTOP
+#include <vcl/sysdata.hxx>
+#endif
+
sal_Bool SwViewShell::mbLstAct = sal_False;
ShellResource *SwViewShell::mpShellRes = 0;
Window *SwViewShell::mpCareWindow = 0;