summaryrefslogtreecommitdiff
path: root/sw/inc/unoframe.hxx
diff options
context:
space:
mode:
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;