summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-02-09 21:33:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-02-10 09:36:51 +0000
commit3b8fdbab0ec79608e24421241c668f2a4027d301 (patch)
tree481e81a4afa13247f28a47254b6d2d9b7e4a3a2e /sw
parent29e18f08e9c8729d285feb992ea2c1f71fb7e618 (diff)
tdf#91596 sw: make Format All Comments persistent
Change-Id: I8f9a20084d2dc8abd7699f64307b81321699498c (cherry picked from commit bd269f902b86ecb5dde0043838be14c867ee8bec) Reviewed-on: https://gerrit.libreoffice.org/34105 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-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 f5316cce0f26..0cacd24fdfba 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -1472,6 +1472,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();