[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sw/source

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


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

New commits:
commit c37ab708ef7a35ce2926e669647fd672a11324f5
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