summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextFrameContext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLTextFrameContext.hxx')
-rw-r--r--xmloff/source/text/XMLTextFrameContext.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLTextFrameContext.hxx b/xmloff/source/text/XMLTextFrameContext.hxx
index 4e297abfafa8..8f19eda2d70e 100644
--- a/xmloff/source/text/XMLTextFrameContext.hxx
+++ b/xmloff/source/text/XMLTextFrameContext.hxx
@@ -20,6 +20,8 @@
#ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMECONTEXT_HXX
#define INCLUDED_XMLOFF_SOURCE_TEXT_XMLTEXTFRAMECONTEXT_HXX
+#include <memory>
+
#include <com/sun/star/text/TextContentAnchorType.hpp>
#include <xmloff/xmlictxt.hxx>
#include <xmloff/xmlmultiimagehelper.hxx>
@@ -37,7 +39,7 @@ class XMLTextFrameContext : public SvXMLImportContext, public MultiImageImportHe
SvXMLImportContextRef m_xImplContext;
SvXMLImportContextRef m_xReplImplContext;
- XMLTextFrameContextHyperlink_Impl *m_pHyperlink;
+ std::unique_ptr<XMLTextFrameContextHyperlink_Impl> m_pHyperlink;
// Implement Title/Description Elements UI (#i73249#)
OUString m_sTitle;
OUString m_sDesc;
@@ -69,7 +71,6 @@ public:
const css::uno::Reference<
css::xml::sax::XAttributeList > & xAttrList,
css::text::TextContentAnchorType eDfltAnchorType );
- virtual ~XMLTextFrameContext();
virtual void EndElement() override;