summaryrefslogtreecommitdiff
path: root/sw/source/filter/rtf/swparrtf.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/rtf/swparrtf.cxx
parentbc3bba74e94d7c1e0f22e9c14f739683200713ad (diff)
#i103452#: replace PRODUCT by !DBG_UTIL; replace assert by OSL_ASSERT where possible
Diffstat (limited to 'sw/source/filter/rtf/swparrtf.cxx')
-rw-r--r--sw/source/filter/rtf/swparrtf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/rtf/swparrtf.cxx b/sw/source/filter/rtf/swparrtf.cxx
index f22145b4ce62..f390f87a4168 100644
--- a/sw/source/filter/rtf/swparrtf.cxx
+++ b/sw/source/filter/rtf/swparrtf.cxx
@@ -388,7 +388,7 @@ void SwRTFParser::Continue( int nToken )
pPam->GetPoint()->nContent.Assign( pTxtNode, nStt );
}
-#ifndef PRODUCT
+#ifdef DBG_UTIL
// !!! sollte nicht moeglich sein, oder ??
ASSERT( pSttNdIdx->GetIndex()+1 != pPam->GetBound( TRUE ).nNode.GetIndex(),
"Pam.Bound1 steht noch im Node" );
@@ -2210,7 +2210,7 @@ void SwRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )
SwPaM aPam( *pPam->GetPoint() );
-#ifndef PRODUCT
+#ifdef DBG_UTIL
ASSERT( nSNd <= nENd, "Start groesser als Ende" );
SwNode* pDebugNd = pDoc->GetNodes()[ nSNd ];
ASSERT( pDebugNd->IsCntntNode(), "Start kein ContentNode" );