[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - sfx2/source

Oliver Specht oliver.specht at cib.de
Sun Feb 7 09:57:21 UTC 2016


 sfx2/source/dialog/styledlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 58b3c04c3f848003bce08f127b3050e606cc9337
Author: Oliver Specht <oliver.specht at cib.de>
Date:   Tue Feb 2 10:44:40 2016 +0100

    tdf#97051: prevent duplicate copy of SfxItemSet
    
    the patch f7424ed710e54bb2437a28380b03ed7c26290edc introduced copying of
    the input item set of SfxTabDialog so now the item set of the style must
    not be copied anymore.
    
    Change-Id: If4155ee5999f0c5cd2ac754578a2c1b5ec33b14b
    Reviewed-on: https://gerrit.libreoffice.org/22022
    Reviewed-by: Oliver Specht <oliver.specht at cib.de>
    Tested-by: Oliver Specht <oliver.specht at cib.de>
    (cherry picked from commit 869c73d0d2512e483ceedcc895b7cb86e0974ab2)

diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index e6711fb..d53e8e0 100644
--- a/sfx2/source/dialog/styledlg.cxx
+++ b/sfx2/source/dialog/styledlg.cxx
@@ -43,7 +43,7 @@ SfxStyleDialog::SfxStyleDialog
 */
 
     : SfxTabDialog(pParent, rID, rUIXMLDescription,
-                  rStyle.GetItemSet().Clone(), true)
+                  &rStyle.GetItemSet(), true)
     , pStyle( &rStyle )
 
 {


More information about the Libreoffice-commits mailing list