summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par2.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
committerMathias Bauer <mba@openoffice.org>2009-07-10 14:03:42 +0200
commitb2bebad78498c79c2a55ae5cf4ee947070c1e21b (patch)
treeb03ee0382969abb7cbe842a085c2c129a186eca0 /sw/source/filter/ww8/ww8par2.cxx
parentbc3bba74e94d7c1e0f22e9c14f739683200713ad (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index e636a47a66f0..da3533819223 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -283,7 +283,7 @@ void sw::util::RedlineStack::close( const SwPosition& rPos,
{
if( pTabDesc && pTabDesc->getOldRedlineStack() )
{
-#ifndef PRODUCT
+#ifdef DBG_UTIL
ASSERT( pTabDesc->getOldRedlineStack()->close(rPos, eType), "close without open!");
#else
pTabDesc->getOldRedlineStack()->close( rPos, eType );
@@ -1469,7 +1469,7 @@ void WW8TabBandDesc::ProcessSpacing(const BYTE* pParams)
if (nLen != 6)
return;
mbHasSpacing=true;
-#ifndef PRODUCT
+#ifdef DBG_UTIL
BYTE nWhichCell =
#endif
*pParams++;
@@ -1523,7 +1523,7 @@ void WW8TabBandDesc::ProcessSpecificSpacing(const BYTE* pParams)
ASSERT(nOverrideSpacing[nWhichCell] < 0x10,
"Unexpected value for nSideBits");
-#ifndef PRODUCT
+#ifdef DBG_UTIL
BYTE nUnknown2 =
#endif
*pParams++;