summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-12-10 11:57:04 +0200
committerTor Lillqvist <tml@collabora.com>2013-12-10 12:01:51 +0200
commit8a75ecb4a10f214dae18ab27fdbaa7aa154f9a02 (patch)
tree373d39efaecb24c9659052084e427e5767e482ad /sw
parentadc68965d585b67ade2373d188e17de96c119770 (diff)
Don't bother with the red/green rectangle on non-desktop
It just makes it harder to debug low-level drawing stuff if LO insists on drawing stuff by itself all the time while idle... Change-Id: Ied22aa5c94fbe43ef34063ee865223cc7467a3d3
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/layact.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 4026277bdf3d..e9418cfadc33 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
#include <time.h>
#include "rootfrm.hxx"
@@ -2228,7 +2229,7 @@ sal_Bool SwLayIdle::DoIdleJob( IdleJobType eJob, sal_Bool bVisAreaOnly )
return sal_False;
}
-#ifdef DBG_UTIL
+#if HAVE_FEATURE_DESKTOP && defined DBG_UTIL
/*************************************************************************
|*
|* void SwLayIdle::SwLayIdle()