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

Mike Kaganski mike.kaganski at collabora.com
Mon Jul 4 09:19:10 UTC 2016


 editeng/source/outliner/outliner.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3a9c151e6eeb3c81902fab2644522a8df9e7161d
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Sat Jul 2 23:07:15 2016 +1000

    tdf#100734: Update bullet of paragraph on UNDO
    
    Change-Id: I1afe0b4ca537eea752d3bced8bbc8944380c3514
    Reviewed-on: https://gerrit.libreoffice.org/26874
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 1f3fe94..4bb11e0d 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -1497,6 +1497,8 @@ void Outliner::ParaAttribsChanged( sal_Int32 nPara )
         if ( pParaList->GetParagraphCount() == pEditEngine->GetParagraphCount() )
         {
             Paragraph* pPara = pParaList->GetParagraph( nPara );
+            // tdf#100734: force update of bullet
+            pPara->Invalidate();
             const SfxInt16Item& rLevel = static_cast<const SfxInt16Item&>( pEditEngine->GetParaAttrib( nPara, EE_PARA_OUTLLEVEL ) );
             if ( pPara && pPara->GetDepth() != rLevel.GetValue() )
             {


More information about the Libreoffice-commits mailing list