summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-09-09 11:42:20 +0200
committerDavid Tardon <dtardon@redhat.com>2016-09-09 12:14:04 +0200
commit87bc9685c250b403d4c002b54d5c49a6a81222fb (patch)
tree655448c40762068649f039a9e1f438a648b2a237 /include/xmloff
parenta13b6bd7317e39c3b54d4792aeea99fda0922a9d (diff)
use std::unique_ptr
Change-Id: I33d75ede0031da63c00c35af7b42867fea0b8d80
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/xmlnumfi.hxx4
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();