diff options
author | Thomas Lange <tl@openoffice.org> | 2001-02-27 15:11:15 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-02-27 15:11:15 +0000 |
commit | 277091cf078cbafd5acd4fee0c90a6514aa005b2 (patch) | |
tree | a4667c3bcb2ad9ac737fe54871c48e87c7700bdb /linguistic | |
parent | 308865ee6211bd0e90d1a4651192d045b0b8beaa (diff) |
#84328# assertion statements fixed
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/spelldsp.cxx | 8 | ||||
-rw-r--r-- | linguistic/source/thesdsp.cxx | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 8764b43ec2b2..cc88db43f5f5 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: spelldsp.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: tl $ $Date: 2001-01-25 10:56:16 $ + * last change: $Author: tl $ $Date: 2001-02-27 16:10:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -293,7 +293,7 @@ BOOL SpellCheckerDispatcher::isValid_Impl( RemoveControlChars( aChkWord ); INT32 nLen = pEntry->aSvcRefs.getLength(); - DBG_ASSERT( nLen = pEntry->aSvcImplNames.getLength(), + DBG_ASSERT( nLen == pEntry->aSvcImplNames.getLength(), "lng : sequence length mismatch"); DBG_ASSERT( pEntry->aFlags.nLastTriedSvcIndex < nLen, "lng : index out of range"); @@ -525,7 +525,7 @@ Reference< XSpellAlternatives > SpellCheckerDispatcher::spell_Impl( RemoveControlChars( aChkWord ); INT32 nLen = pEntry->aSvcRefs.getLength(); - DBG_ASSERT( nLen = pEntry->aSvcImplNames.getLength(), + DBG_ASSERT( nLen == pEntry->aSvcImplNames.getLength(), "lng : sequence length mismatch"); DBG_ASSERT( pEntry->aFlags.nLastTriedSvcIndex < nLen, "lng : index out of range"); diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index 584ddcde619e..41f696c999fa 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: thesdsp.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: tl $ $Date: 2001-01-25 10:57:01 $ + * last change: $Author: tl $ $Date: 2001-02-27 16:11:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -195,7 +195,7 @@ Sequence< Reference< XMeaning > > SAL_CALL RemoveControlChars( aChkWord ); INT32 nLen = pEntry->aSvcRefs.getLength(); - DBG_ASSERT( nLen = pEntry->aSvcImplNames.getLength(), + DBG_ASSERT( nLen == pEntry->aSvcImplNames.getLength(), "lng : sequence length mismatch"); DBG_ASSERT( pEntry->aFlags.nLastTriedSvcIndex < nLen, "lng : index out of range"); |