diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-19 17:51:39 +0200 |
commit | a003d8c59d0324ab3f44ec608f473e654ce48902 (patch) | |
tree | 0c85a381b784f9dc24a6e74aa3448b7eb4739a8c /svx/source/sdr/properties | |
parent | 65fe84d273a4fe099cd03be088165672788cf32e (diff) |
loplugin:defaultparams
Change-Id: I4e344e780baae6c9828d0d708dfb0a9390af533a
Diffstat (limited to 'svx/source/sdr/properties')
-rw-r--r-- | svx/source/sdr/properties/defaultproperties.cxx | 2 | ||||
-rw-r--r-- | svx/source/sdr/properties/e3dsceneproperties.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx index 66f099bd7f73..813e963ea034 100644 --- a/svx/source/sdr/properties/defaultproperties.cxx +++ b/svx/source/sdr/properties/defaultproperties.cxx @@ -53,7 +53,7 @@ namespace sdr { if(rProps.mpItemSet) { - mpItemSet = rProps.mpItemSet->Clone(true); + mpItemSet = rProps.mpItemSet->Clone(); // do not keep parent info, this may be changed by later construrtors. // This class just copies the ItemSet, ignore parent. diff --git a/svx/source/sdr/properties/e3dsceneproperties.cxx b/svx/source/sdr/properties/e3dsceneproperties.cxx index 3494219726ca..f9a128d4a5fe 100644 --- a/svx/source/sdr/properties/e3dsceneproperties.cxx +++ b/svx/source/sdr/properties/e3dsceneproperties.cxx @@ -121,7 +121,7 @@ namespace sdr { // Generate filtered ItemSet which contains all but the SDRATTR_3DSCENE items. // #i50808# Leak fix, Clone produces a new instance and we get ownership here - std::unique_ptr<SfxItemSet> pNewSet(rSet.Clone(true)); + std::unique_ptr<SfxItemSet> pNewSet(rSet.Clone()); DBG_ASSERT(pNewSet, "E3dSceneProperties::SetMergedItemSet(): Could not clone ItemSet (!)"); for(sal_uInt16 b(SDRATTR_3DSCENE_FIRST); b <= SDRATTR_3DSCENE_LAST; b++) |