summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-02-09 21:33:24 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-02-13 08:26:58 +0000
commit3d507dbcd08e07af3ae6e7f5f0962e5422187087 (patch)
tree5c14151c6395722d3ac8a8220086c8bd4b05aff1
parentafeeed5235bb796ce3d0a74166957d3799f59b39 (diff)
tdf#91596 sw: make Format All Comments persistent
Change-Id: I8f9a20084d2dc8abd7699f64307b81321699498c (cherry picked from commit bd269f902b86ecb5dde0043838be14c867ee8bec) Reviewed-on: https://gerrit.libreoffice.org/34106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--sw/source/uibase/docvw/PostItMgr.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index 1ef3524c1872..76f20d3f8576 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -1474,6 +1474,8 @@ void SwPostItMgr::FormatAll(const SfxItemSet &rNewAttr)
pOLV->SetAttribs(rNewAttr);
//restore old selection
pOLV->SetSelection(aOrigSel);
+ // tdf#91596 store updated formatting in SwField
+ (*i)->pPostIt->UpdateData();
}
mpWrtShell->EndUndo();