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

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


 sw/source/filter/html/htmltabw.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f2feb0d27a34c58defe5763524ffea50f9a87a62
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Sun Nov 7 18:03:22 2010 +0200

    Fix compilation error in DBG_UTIL build
    
    When using a testing flag which is defined inside #if OSL_DEBUG_LEVEL>1,
    use the same preprocessor condition. Not #ifdef DBG_UTIL, which is
    orthogonal (apparently).

diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index eb77970..c5c20a0 100644
--- a/sw/source/filter/html/htmltabw.cxx
+++ b/sw/source/filter/html/htmltabw.cxx
@@ -1186,7 +1186,7 @@ Writer& OutHTML_SwTblNode( Writer& rWrt, SwTableNode & rNode,
 
     const SwHTMLTableLayout *pLayout = rTbl.GetHTMLTableLayout();
 
-#ifdef DBG_UTIL
+#if OSL_DEBUG_LEVEL > 1
     ViewShell *pSh;
     rWrt.pDoc->GetEditShell( &pSh );
     if ( pSh && pSh->GetViewOptions()->IsTest1() )


More information about the Libreoffice-commits mailing list