[Libreoffice-commits] core.git: sfx2/source

Oliver Specht oliver.specht at cib.de
Tue Feb 2 14:42:36 UTC 2016


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

New commits:
commit 869c73d0d2512e483ceedcc895b7cb86e0974ab2
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>

diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index ecf57a6..e2ed267 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