summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmltabw.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2010-11-07 18:03:22 +0200
committerTor Lillqvist <tml@hemulen.(none)>2010-11-07 18:07:19 +0200
commitbee3b281cf06d353818a33c20e86d7518c3cbff9 (patch)
tree840d2843104f30dba97410f7793384a7849ff32e /sw/source/filter/html/htmltabw.cxx
parent804134ce5f3a0a202f33ba9d6f5be0f9e01f2c63 (diff)
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).
Diffstat (limited to 'sw/source/filter/html/htmltabw.cxx')
-rw-r--r--sw/source/filter/html/htmltabw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx
index 5da8c6058b1e..4ea8dea98e6d 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() )