diff options
author | David Tardon <dtardon@redhat.com> | 2016-09-09 11:42:20 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-09-09 12:14:04 +0200 |
commit | 87bc9685c250b403d4c002b54d5c49a6a81222fb (patch) | |
tree | 655448c40762068649f039a9e1f438a648b2a237 /include/xmloff | |
parent | a13b6bd7317e39c3b54d4792aeea99fda0922a9d (diff) |
use std::unique_ptr
Change-Id: I33d75ede0031da63c00c35af7b42867fea0b8d80
Diffstat (limited to 'include/xmloff')
-rw-r--r-- | include/xmloff/xmlnumfi.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<SvXMLNumImpData> 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(); |