summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2016-07-02 23:07:15 +1000
committerAndras Timar <andras.timar@collabora.com>2016-07-04 09:18:37 +0000
commit3a9c151e6eeb3c81902fab2644522a8df9e7161d (patch)
tree6547577106e3b87b39740b20b03b474ae9292364
parent00dd9cf513826282f3036be8483615dd665bfeb6 (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>
-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 1f3fe9425801..4bb11e0de29f 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() )
{