[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - editeng/source

Mike Kaganski mike.kaganski at collabora.com
Fri Jul 15 12:53:01 UTC 2016


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

New commits:
commit 79e3fd9df519bc5aad349f137d4aa74168e9ef2e
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>
    (cherry picked from commit 3a9c151e6eeb3c81902fab2644522a8df9e7161d)
    Reviewed-on: https://gerrit.libreoffice.org/26893
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 906367c..f865256 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