summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2016-02-02 10:44:40 +0100
committerOliver Specht <oliver.specht@cib.de>2016-02-02 14:41:55 +0000
commit869c73d0d2512e483ceedcc895b7cb86e0974ab2 (patch)
tree950271f086799ca98771057402381261cbe5c675
parente1cd15fbac8727627c06e7a1e7c00691c66b0a11 (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>
-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 ecf57a63f34b..e2ed267c3723 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 )
{