summaryrefslogtreecommitdiff
path: root/include/svl/itemprop.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-17 14:46:26 +0200
committerNoel Grandin <noel@peralex.com>2015-11-18 08:35:34 +0200
commit0d62716f67b6269448eeae1f012f9512b503f390 (patch)
treeb390a03fed77b2bee5045f27d0609df1b863d92f /include/svl/itemprop.hxx
parentf43db673558a1139fba783973c87de9b79033425 (diff)
use unique_ptr for pImpl in svl/
Change-Id: Ieef897314ac0f056c0a09a5182ca59800fd58f41
Diffstat (limited to 'include/svl/itemprop.hxx')
-rw-r--r--include/svl/itemprop.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx
index 56a82d9af91e..1c8923f4cee1 100644
--- a/include/svl/itemprop.hxx
+++ b/include/svl/itemprop.hxx
@@ -26,6 +26,7 @@
#include <svl/itemset.hxx>
#include <svl/svldllapi.h>
#include <vector>
+#include <memory>
/// map a property between beans::XPropertySet and SfxPoolItem
struct SfxItemPropertyMapEntry
@@ -87,7 +88,7 @@ typedef std::vector< SfxItemPropertyNamedEntry > PropertyEntryVector_t;
class SfxItemPropertyMap_Impl;
class SVL_DLLPUBLIC SfxItemPropertyMap
{
- SfxItemPropertyMap_Impl* m_pImpl;
+ std::unique_ptr<SfxItemPropertyMap_Impl> m_pImpl;
public:
SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries );
SfxItemPropertyMap( const SfxItemPropertyMap& rSource );
@@ -156,7 +157,7 @@ public:
struct SfxItemPropertySetInfo_Impl;
class SVL_DLLPUBLIC SfxItemPropertySetInfo : public cppu::WeakImplHelper1<css::beans::XPropertySetInfo>
{
- SfxItemPropertySetInfo_Impl* m_pImpl;
+ std::unique_ptr<SfxItemPropertySetInfo_Impl> m_pImpl;
public:
SfxItemPropertySetInfo(const SfxItemPropertyMap &rMap );