diff options
author | Xisco Fauli <anistenis@gmail.com> | 2016-05-23 01:53:33 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-25 06:52:04 +0000 |
commit | 62ddce422ce80592107d9125e8e9bd59f7f770a5 (patch) | |
tree | 1287b203fc65543362bc171493c3db6cc86d4d85 /include/editeng | |
parent | a890e3189b4146aba3dfaf2f3e1ac212bb02c8a4 (diff) |
tdf#89329: use unique_ptr for pImpl in xmlcnitm
Change-Id: Iec37e509b78e58e90591bad26735ff31462eaf5c
Reviewed-on: https://gerrit.libreoffice.org/25328
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/xmlcnitm.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/editeng/xmlcnitm.hxx b/include/editeng/xmlcnitm.hxx index d6c584984d20..2ce157eb8dd4 100644 --- a/include/editeng/xmlcnitm.hxx +++ b/include/editeng/xmlcnitm.hxx @@ -22,6 +22,7 @@ #include <svl/poolitem.hxx> #include <editeng/editengdllapi.h> +#include <memory> class SvXMLNamespaceMap; @@ -30,7 +31,7 @@ class SvXMLAttrContainerData; class EDITENG_DLLPUBLIC SvXMLAttrContainerItem: public SfxPoolItem { - SvXMLAttrContainerData *pImpl; + std::unique_ptr<SvXMLAttrContainerData> pImpl; public: |