[Libreoffice-commits] core.git: editeng/source

Eike Rathke erack at redhat.com
Wed Nov 30 18:24:54 UTC 2016


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

New commits:
commit 48aa8dfa6067d211aef4ed2d10a9233300dc1fbc
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Nov 30 19:20:59 2016 +0100

    add a SAL_WARN() for the broken portion continuation
    
    Or should that even be an assert() to force callers to fix things?
    
    Change-Id: Ie0f10394376f088a7af9399ee42503fc403ca094

diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 7a9d00b..2331fe1 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -914,6 +914,7 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY )
                 // paragraph lead to a11y attempting to format the doc to
                 // obtain content when notified.
                 nTmpPortion = nTextPortions - 1;
+                SAL_WARN("editeng","ImpEditEngine::CreateLines - continuation of a broken portion");
             }
 
             nPortionStart = nTmpPos;


More information about the Libreoffice-commits mailing list