From 87bc9685c250b403d4c002b54d5c49a6a81222fb Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 9 Sep 2016 11:42:20 +0200 Subject: use std::unique_ptr Change-Id: I33d75ede0031da63c00c35af7b42867fea0b8d80 --- include/xmloff/xmlnumfi.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/xmloff') diff --git a/include/xmloff/xmlnumfi.hxx b/include/xmloff/xmlnumfi.hxx index e12491790800..a2ea8b47ac4a 100644 --- a/include/xmloff/xmlnumfi.hxx +++ b/include/xmloff/xmlnumfi.hxx @@ -72,7 +72,7 @@ namespace com { namespace sun { namespace star { namespace lang { class SvXMLNumFmtHelper { - SvXMLNumImpData* pData; + std::unique_ptr pData; public: SvXMLNumFmtHelper( @@ -91,7 +91,7 @@ public: const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, SvXMLStylesContext& rStyles); - SvXMLNumImpData* getData() { return pData; } + SvXMLNumImpData* getData() { return pData.get(); } const SvXMLTokenMap& GetStylesElemTokenMap(); -- cgit