summaryrefslogtreecommitdiff
path: root/svx/inc/sdr/properties/emptyproperties.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/sdr/properties/emptyproperties.hxx')
-rw-r--r--svx/inc/sdr/properties/emptyproperties.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/inc/sdr/properties/emptyproperties.hxx b/svx/inc/sdr/properties/emptyproperties.hxx
index dad630be6fe9..2b431ec7b576 100644
--- a/svx/inc/sdr/properties/emptyproperties.hxx
+++ b/svx/inc/sdr/properties/emptyproperties.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_SVX_SDR_PROPERTIES_EMPTYPROPERTIES_HXX
#define INCLUDED_SVX_SDR_PROPERTIES_EMPTYPROPERTIES_HXX
+#include <sal/config.h>
+
+#include <memory>
+
#include <svx/sdr/properties/properties.hxx>
@@ -31,7 +35,7 @@ namespace sdr
{
protected:
// the to be used ItemSet
- SfxItemSet* mpEmptyItemSet;
+ std::unique_ptr<SfxItemSet> mpEmptyItemSet;
// create a new itemset
virtual SfxItemSet* CreateObjectSpecificItemSet(SfxItemPool& rPool) override;
@@ -52,9 +56,6 @@ namespace sdr
// basic constructor
explicit EmptyProperties(SdrObject& rObj);
- // destructor
- virtual ~EmptyProperties() override;
-
// Clone() operator, normally just calls the local copy constructor
virtual BaseProperties& Clone(SdrObject& rObj) const override;