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:47:07 +0100
commit58b3c04c3f848003bce08f127b3050e606cc9337 (patch)
tree22a0f652d4da49c165a71ba93782d2e38f4c6fb0
parent1152a43ff511537197ec91087305abd85ac3159e (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 e6711fb9cc9d..d53e8e0d8692 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 )
{