diff options
author | Michael Stahl <mstahl@redhat.com> | 2018-02-01 10:19:30 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-02-01 15:00:47 +0100 |
commit | 2a94fddcc8cca382787313d0ac4fcbfe1b9a5df8 (patch) | |
tree | 0b50dbb13b4abd40dd08a631df231116cc786593 /sw/inc/unoframe.hxx | |
parent | 23961ff6c0c2d6f2d58ede3b4082554fc025ce6f (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.hxx | 4 |
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; |