summaryrefslogtreecommitdiff
path: root/sw/inc/unoframe.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-02-01 10:19:30 +0100
committerMichael Stahl <mstahl@redhat.com>2018-02-01 15:00:47 +0100
commit2a94fddcc8cca382787313d0ac4fcbfe1b9a5df8 (patch)
tree0b50dbb13b4abd40dd08a631df231116cc786593 /sw/inc/unoframe.hxx
parent23961ff6c0c2d6f2d58ede3b4082554fc025ce6f (diff)
sw: convert DELETEZ to std::unique_ptr in SwXFrame
Change-Id: I1aa9d0fc8712773ea87ea8419c384f6f23258387
Diffstat (limited to 'sw/inc/unoframe.hxx')
-rw-r--r--sw/inc/unoframe.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx
index ac0158c54c5f..f913fb708cd2 100644
--- a/sw/inc/unoframe.hxx
+++ b/sw/inc/unoframe.hxx
@@ -37,6 +37,8 @@
#include "frmfmt.hxx"
#include "unotext.hxx"
+#include <memory>
+
class SdrObject;
class SwDoc;
class SwFormat;
@@ -65,7 +67,7 @@ private:
const FlyCntType eType;
// Descriptor-interface
- BaseFrameProperties_Impl* pProps;
+ std::unique_ptr<BaseFrameProperties_Impl> m_pProps;
bool bIsDescriptor;
OUString m_sName;