diff options
Diffstat (limited to 'sd/source/ui/unoidl/unopback.hxx')
-rw-r--r-- | sd/source/ui/unoidl/unopback.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unopback.hxx b/sd/source/ui/unoidl/unopback.hxx index d163f0f0dfee..0c611f472ace 100644 --- a/sd/source/ui/unoidl/unopback.hxx +++ b/sd/source/ui/unoidl/unopback.hxx @@ -19,6 +19,10 @@ #ifndef INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPBACK_HXX #define INCLUDED_SD_SOURCE_UI_UNOIDL_UNOPBACK_HXX +#include <sal/config.h> + +#include <memory> + #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertyState.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -44,7 +48,7 @@ class SdUnoPageBackground : public ::cppu::WeakImplHelper< { protected: const SvxItemPropertySet* mpPropSet; - SfxItemSet* mpSet; + std::unique_ptr<SfxItemSet> mpSet; SdrModel* mpDoc; const SfxItemPropertySimpleEntry* getPropertyMapEntry( const OUString& rPropertyName ) const throw(); |