diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:08:45 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2010-11-25 17:12:34 +0100 |
commit | c16ba8a04fd4599e439e7e039705e41691c43acb (patch) | |
tree | 66a1c67973a674245548e10ff0746d1e473a7703 /sw/source/filter/html/htmltabw.cxx | |
parent | e9eaf033646695987e218907a565b555b976c5c8 (diff) |
Removed DBG_UTIL from sw
* Fixed the different dbglevel builds
* This needed to change all the sw local ASSERT to OSL_ENSURE...
Diffstat (limited to 'sw/source/filter/html/htmltabw.cxx')
-rw-r--r-- | sw/source/filter/html/htmltabw.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/html/htmltabw.cxx b/sw/source/filter/html/htmltabw.cxx index a34843835e0d..1ed154ffea00 100644 --- a/sw/source/filter/html/htmltabw.cxx +++ b/sw/source/filter/html/htmltabw.cxx @@ -146,7 +146,7 @@ void SwHTMLWrtTable::PixelizeBorders() sal_Bool SwHTMLWrtTable::HasTabBackground( const SwTableBox& rBox, sal_Bool bTop, sal_Bool bBottom, sal_Bool bLeft, sal_Bool bRight ) { - ASSERT( bTop || bBottom || bLeft || bRight, + OSL_ENSURE( bTop || bBottom || bLeft || bRight, "HasTabBackground: darf nicht aufgerufen werden" ); sal_Bool bRet = sal_False; @@ -181,7 +181,7 @@ sal_Bool SwHTMLWrtTable::HasTabBackground( const SwTableBox& rBox, sal_Bool SwHTMLWrtTable::HasTabBackground( const SwTableLine& rLine, sal_Bool bTop, sal_Bool bBottom, sal_Bool bLeft, sal_Bool bRight ) { - ASSERT( bTop || bBottom || bLeft || bRight, + OSL_ENSURE( bTop || bBottom || bLeft || bRight, "HasTabBackground: darf nicht aufgerufen werden" ); sal_Bool bRet = sal_False; @@ -674,7 +674,7 @@ void SwHTMLWrtTable::Write( SwHTMLWriter& rWrt, sal_Int16 eAlign, } else { - ASSERT( Application::GetDefaultDevice(), "kein Application-Window!?" ); + OSL_ENSURE( Application::GetDefaultDevice(), "kein Application-Window!?" ); sOut += "100%"; } } @@ -1081,7 +1081,7 @@ Writer& OutHTML_SwTblNode( Writer& rWrt, SwTableNode & rNode, if( bCheckDefList ) { - ASSERT( !rHTMLWrt.GetNumInfo().GetNumRule() || + OSL_ENSURE( !rHTMLWrt.GetNumInfo().GetNumRule() || rHTMLWrt.GetNextNumInfo(), "NumInfo fuer naechsten Absatz fehlt!" ); const SvxLRSpaceItem& aLRItem = pFmt->GetLRSpace(); |