diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-21 11:39:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-06-21 11:41:11 +0200 |
commit | cc66f408f99602618be12ce6c47152233291e1db (patch) | |
tree | 31b6de032305f2cf446e95defbc407d46c87c42e /editeng | |
parent | e65b5c19985d725779d8381cc3bd75c441c0ff2e (diff) |
fix DBG_ASSERT condition to match message
Change-Id: I7073d3063d17ade9b0d4f88013c47eabb646af58
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index b4c7bb6eb75b..9fdb38929927 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -1848,7 +1848,7 @@ void ImpEditEngine::ImpBreakLine( ParaPortion* pParaPortion, EditLine* pLine, Te pNode->GetString(), nBreakPos, GetLocale( EditPaM( pNode, nBreakPos ) ), css::i18n::WordType::DICTIONARY_WORD, true); sal_Int32 nWordStart = nBreakPos; sal_Int32 nWordEnd = aBoundary.endPos; - DBG_ASSERT( nWordEnd > nWordStart, "ImpBreakLine: Start >= End?" ); + DBG_ASSERT( nWordEnd >= nWordStart, "Start >= End?" ); sal_Int32 nWordLen = nWordEnd - nWordStart; if ( ( nWordEnd >= nMaxBreakPos ) && ( nWordLen > 3 ) ) |