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

Oliver Specht oliver.specht at cib.de
Sun Feb 7 09:51:30 UTC 2016


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

New commits:
commit 08004a12fa0d7f08cff53b5cf6b6c2409bd47754
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 1735f1b..67bb258 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