editeng/source/editeng/impedit3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cc66f408f99602618be12ce6c47152233291e1db
Author: Noel Grandin <n...@peralex.com>
Date:   Tue Jun 21 11:39:45 2016 +0200

    fix DBG_ASSERT condition to match message
    
    Change-Id: I7073d3063d17ade9b0d4f88013c47eabb646af58

diff --git a/editeng/source/editeng/impedit3.cxx 
b/editeng/source/editeng/impedit3.cxx
index b4c7bb6..9fdb389 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 ) )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to