[Libreoffice-commits] .: sw/source

Tor Lillqvist tml at kemper.freedesktop.org
Sun Nov 7 08:21:30 PST 2010


 sw/source/ui/docvw/srcedtw.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0d94ee78d20e702bbeaec4bdc28448a7c8c0c9c5
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Sun Nov 7 18:18:27 2010 +0200

    Fix compilation error caused by DBG_UTIL vs. OSL_DEBUG_LEVEL mixup

diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx
index a089a21..9661ab0 100644
--- a/sw/source/ui/docvw/srcedtw.cxx
+++ b/sw/source/ui/docvw/srcedtw.cxx
@@ -763,7 +763,7 @@ void SwSrcEditWindow::ImpDoHighlight( const String& rSource, USHORT nLineOff )
         // optimiert das die TextEngine.
         USHORT nLastEnd = 0;
 
-#if OSL_DEBUG_LEVEL > 1
+#ifdef DBG_UTIL
         USHORT nLine = aPortionList[0].nLine;
 #endif
         for ( USHORT i = 0; i < nCount; i++ )


More information about the Libreoffice-commits mailing list