summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/tblafmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/tblafmt.cxx')
-rw-r--r--sw/source/core/doc/tblafmt.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 60fdd30ee0..2c9d86cc43 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -586,7 +586,7 @@ SwTableAutoFmt::~SwTableAutoFmt()
void SwTableAutoFmt::SetBoxFmt( const SwBoxAutoFmt& rNew, BYTE nPos )
{
- ASSERT( nPos < 16, "falscher Bereich" );
+ OSL_ENSURE( nPos < 16, "falscher Bereich" );
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ];
if( pFmt ) // ist gesetzt -> kopieren
@@ -598,7 +598,7 @@ void SwTableAutoFmt::SetBoxFmt( const SwBoxAutoFmt& rNew, BYTE nPos )
const SwBoxAutoFmt& SwTableAutoFmt::GetBoxFmt( BYTE nPos ) const
{
- ASSERT( nPos < 16, "falscher Bereich" );
+ OSL_ENSURE( nPos < 16, "falscher Bereich" );
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ];
if( pFmt ) // ist gesetzt -> kopieren
@@ -619,7 +619,7 @@ SwBoxAutoFmt& SwTableAutoFmt::UpdateFromSet( BYTE nPos,
UpdateFlags eFlags,
SvNumberFormatter* pNFmtr )
{
- ASSERT( nPos < 16, "falscher Bereich" );
+ OSL_ENSURE( nPos < 16, "falscher Bereich" );
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ];
if( !pFmt ) // ist gesetzt -> kopieren
@@ -997,7 +997,7 @@ BOOL SwTableAutoFmtTbl::Load( SvStream& rStream )
// rStream >> nFileVers;
if( rStream.Tell() != ULONG(nPos + nCnt) )
{
- ASSERT( !this, "Der Header enthaelt mehr/neuere Daten" );
+ OSL_ENSURE( !this, "Der Header enthaelt mehr/neuere Daten" );
rStream.Seek( nPos + nCnt );
}
rStream.SetStreamCharSet( (CharSet)nChrSet );