summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2016-07-02 23:07:15 +1000
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-07-15 12:52:32 +0000
commit79e3fd9df519bc5aad349f137d4aa74168e9ef2e (patch)
treebd299c048ec003349105328be4b0c4f403033cd6
parent3e60438dad304c487973fb8cdb50f3d94932af2e (diff)
tdf#100734: Update bullet of paragraph on UNDO
Change-Id: I1afe0b4ca537eea752d3bced8bbc8944380c3514 Reviewed-on: https://gerrit.libreoffice.org/26874 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 3a9c151e6eeb3c81902fab2644522a8df9e7161d) Reviewed-on: https://gerrit.libreoffice.org/26893 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--editeng/source/outliner/outliner.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 906367c796e1..f8652568f8d5 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() )
{