summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/window.hxx18
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx2
-rw-r--r--vcl/inc/window.h17
3 files changed, 19 insertions, 18 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 0e95d02d1bf2..825737078333 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_VCL_WINDOW_HXX
#define INCLUDED_VCL_WINDOW_HXX
-#include <config_features.h>
#include <tools/solar.h>
#include <vcl/dllapi.h>
#include <vcl/outdev.hxx>
@@ -439,23 +438,6 @@ enum class GetDlgWindowType
const char* ImplDbgCheckWindow( const void* pObj );
#endif
-inline bool ImplDoTiledRendering()
-{
-#if !HAVE_FEATURE_DESKTOP && !defined(ANDROID)
- // We do tiled rendering only for iOS at the moment, actually, but
- // let's see what happens if we assume it for Android, too.
- // (That comment doesn't match what the code does, does it?)
- return true;
-#else
- // We need some way to know globally if this process will use
- // tiled rendering or not. Or should this be a per-window setting?
- // Or what?
- return false;
-#endif
-}
-
-
-
namespace vcl { class Window; }
namespace vcl { class Cursor; }
class Dialog;
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 4912f328b433..0ae19d6d0179 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -19,6 +19,8 @@
#include <tbunosearchcontrollers.hxx>
+#include <config_features.h>
+
#include <svx/dialogs.hrc>
#include <svx/dialmgr.hxx>
diff --git a/vcl/inc/window.h b/vcl/inc/window.h
index 5d792dea7890..0c097dfe9f3e 100644
--- a/vcl/inc/window.h
+++ b/vcl/inc/window.h
@@ -22,6 +22,8 @@
#include <sal/config.h>
+#include <config_features.h>
+
#include <com/sun/star/uno/Reference.hxx>
#include <cppuhelper/weakref.hxx>
#include <list>
@@ -411,6 +413,21 @@ bool ImplHandleMouseEvent( vcl::Window* pWindow, MouseNotifyEvent nSVEvent, bool
sal_uInt16 nCode, MouseEventModifiers nMode );
void ImplHandleResize( vcl::Window* pWindow, long nNewWidth, long nNewHeight );
+inline bool ImplDoTiledRendering()
+{
+#if !HAVE_FEATURE_DESKTOP && !defined(ANDROID)
+ // We do tiled rendering only for iOS at the moment, actually, but
+ // let's see what happens if we assume it for Android, too.
+ // (That comment doesn't match what the code does, does it?)
+ return true;
+#else
+ // We need some way to know globally if this process will use
+ // tiled rendering or not. Or should this be a per-window setting?
+ // Or what?
+ return false;
+#endif
+}
+
#endif // INCLUDED_VCL_INC_WINDOW_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */