diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2010-11-07 18:03:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@hemulen.(none)> | 2010-11-07 18:07:19 +0200 |
commit | bee3b281cf06d353818a33c20e86d7518c3cbff9 (patch) | |
tree | 840d2843104f30dba97410f7793384a7849ff32e /sw/source/filter/html/htmltabw.cxx | |
parent | 804134ce5f3a0a202f33ba9d6f5be0f9e01f2c63 (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.cxx | 2 |
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() ) |