[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Wed Apr 16 02:08:57 PDT 2014


 sw/source/core/view/viewsh.cxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 2f316b07a502b527876462d524061dbf6c9a04d5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Apr 16 12:06:38 2014 +0300

    Avoid risk of "unused" header removal
    
    Change-Id: I4cf2bec8fdcb03b4012de50ed0ce03a8e5154d82

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 12f134c..af543fd 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;


More information about the Libreoffice-commits mailing list