diff options
author | sb <sb@openoffice.org> | 2010-01-21 09:42:10 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-01-21 09:42:10 +0100 |
commit | 354016167ef7369d5ffd81c016cf37ea130f7333 (patch) | |
tree | 8dbbdbe2206295677c9a4f7f845f6b46b80a13aa /linguistic | |
parent | 5b3b6a84c0b42698f07dafdf72b92cd3bfa99bb9 (diff) | |
parent | 3b3e144c13a85b21b32904f245f44256c63e10e5 (diff) |
sb111: merged in DEV300_m70
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/gciterator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index 2697d5880b80..49975ad6e626 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -578,7 +578,8 @@ void GrammarCheckingIterator::DequeueAndCheck() sal_Int32 nStartPos = aFPEntryItem.m_nStartIndex; sal_Int32 nSuggestedEnd = GetSuggestedEndOfSentence( aCurTxt, nStartPos, aCurLocale ); - DBG_ASSERT( nSuggestedEnd > nStartPos, "nSuggestedEndOfSentencePos calculation failed?" ); + DBG_ASSERT( (nSuggestedEnd == 0 && aCurTxt.getLength() == 0) || nSuggestedEnd > nStartPos, + "nSuggestedEndOfSentencePos calculation failed?" ); linguistic2::ProofreadingResult aRes; |