sw/source/core/layout/layact.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8a75ecb4a10f214dae18ab27fdbaa7aa154f9a02
Author: Tor Lillqvist <t...@collabora.com>
Date:   Tue Dec 10 11:57:04 2013 +0200

    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

diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 4026277..e9418cf 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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to