From c6a65137436c87a6e9f85d46193c42ba35698446 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 8 Sep 2016 14:59:12 +0200 Subject: use std::unique_ptr Change-Id: I352e542de656d22963eb872f79b40e20008d0a32 --- xmloff/inc/XMLTextColumnsContext.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xmloff/inc') diff --git a/xmloff/inc/XMLTextColumnsContext.hxx b/xmloff/inc/XMLTextColumnsContext.hxx index b750adb90447..15b40cdedea0 100644 --- a/xmloff/inc/XMLTextColumnsContext.hxx +++ b/xmloff/inc/XMLTextColumnsContext.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSCONTEXT_HXX #define INCLUDED_XMLOFF_INC_XMLTEXTCOLUMNSCONTEXT_HXX +#include + #include "XMLElementPropertyContext.hxx" class XMLTextColumnContext_Impl; @@ -39,10 +41,10 @@ class XMLTextColumnsContext :public XMLElementPropertyContext const OUString sSeparatorLineStyle; - XMLTextColumnsArray_Impl *pColumns; + std::unique_ptr pColumns; css::uno::Reference mxColumnSep; - SvXMLTokenMap *pColumnAttrTokenMap; - SvXMLTokenMap *pColumnSepAttrTokenMap; + std::unique_ptr pColumnAttrTokenMap; + std::unique_ptr pColumnSepAttrTokenMap; sal_Int16 nCount; bool bAutomatic; sal_Int32 nAutomaticDistance; @@ -56,8 +58,6 @@ public: const XMLPropertyState& rProp, ::std::vector< XMLPropertyState > &rProps ); - virtual ~XMLTextColumnsContext(); - virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList > & xAttrList ) override; -- cgit