diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-17 08:03:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-17 08:23:35 +0200 |
commit | e1d88a574562b5c36b01eafdaa0670e5cc1a7c39 (patch) | |
tree | d1f00c56fbb6224aa461de6d60f0d1f259d9768a /include/xmloff/xmltkmap.hxx | |
parent | 32d4c03cba399ada807b8ec113a3928aa9e3ff7b (diff) |
use unique_ptr for pImpl's in xmloff/
Change-Id: Ib95118941938af83fed566a085837e17f092017a
Diffstat (limited to 'include/xmloff/xmltkmap.hxx')
-rw-r--r-- | include/xmloff/xmltkmap.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmloff/xmltkmap.hxx b/include/xmloff/xmltkmap.hxx index d0f2288380dd..4cf640393660 100644 --- a/include/xmloff/xmltkmap.hxx +++ b/include/xmloff/xmltkmap.hxx @@ -24,6 +24,7 @@ #include <xmloff/dllapi.h> #include <sal/types.h> #include <xmloff/xmltoken.hxx> +#include <memory> class SvXMLTokenMap_Impl; @@ -40,7 +41,7 @@ struct SvXMLTokenMapEntry class XMLOFF_DLLPUBLIC SvXMLTokenMap { - SvXMLTokenMap_Impl *m_pImpl; + std::unique_ptr<SvXMLTokenMap_Impl> m_pImpl; public: |