diff options
Diffstat (limited to 'svx/source/sdr/properties/groupproperties.cxx')
-rw-r--r-- | svx/source/sdr/properties/groupproperties.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/properties/groupproperties.cxx b/svx/source/sdr/properties/groupproperties.cxx index a79f7cc9059a..857eea1fed73 100644 --- a/svx/source/sdr/properties/groupproperties.cxx +++ b/svx/source/sdr/properties/groupproperties.cxx @@ -57,9 +57,9 @@ namespace sdr { } - BaseProperties& GroupProperties::Clone(SdrObject& rObj) const + std::unique_ptr<BaseProperties> GroupProperties::Clone(SdrObject& rObj) const { - return *(new GroupProperties(*this, rObj)); + return std::unique_ptr<BaseProperties>(new GroupProperties(*this, rObj)); } const SfxItemSet& GroupProperties::GetObjectItemSet() const |