summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2016-02-02 10:44:40 +0100
committerZolnai Tamás <zolnaitamas2000@gmail.com>2016-02-07 10:37:32 +0100
commit08004a12fa0d7f08cff53b5cf6b6c2409bd47754 (patch)
tree74f387f4e0e51043d232b0f2d58dde42f1bed18a
parentc29bc3305e835d6f32195b4d9528e64b64d4019e (diff)
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@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de> (cherry picked from commit 869c73d0d2512e483ceedcc895b7cb86e0974ab2)
-rw-r--r--sfx2/source/dialog/styledlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx
index 1735f1b28371..67bb25858a3d 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 )
{