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

Michael Stahl mstahl at redhat.com
Mon Feb 13 08:27:22 UTC 2017


 sw/source/uibase/docvw/PostItMgr.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 3d507dbcd08e07af3ae6e7f5f0962e5422187087
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Feb 9 21:33:24 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index 1ef3524..76f20d3 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();


More information about the Libreoffice-commits mailing list