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/formlayerexport.hxx | |
parent | 32d4c03cba399ada807b8ec113a3928aa9e3ff7b (diff) |
use unique_ptr for pImpl's in xmloff/
Change-Id: Ib95118941938af83fed566a085837e17f092017a
Diffstat (limited to 'include/xmloff/formlayerexport.hxx')
-rw-r--r-- | include/xmloff/formlayerexport.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xmloff/formlayerexport.hxx b/include/xmloff/formlayerexport.hxx index 1aeb85b70494..d3c7e14574c5 100644 --- a/include/xmloff/formlayerexport.hxx +++ b/include/xmloff/formlayerexport.hxx @@ -29,6 +29,7 @@ #include <rtl/ref.hxx> #include <salhelper/simplereferenceobject.hxx> #include <xmloff/xmlexppr.hxx> +#include <memory> namespace com { namespace sun { namespace star { namespace awt { class XControlModel; @@ -55,7 +56,7 @@ namespace xmloff /// our export context SvXMLExport& m_rContext; // impl class - OFormLayerXMLExport_Impl* m_pImpl; + std::unique_ptr<OFormLayerXMLExport_Impl> m_pImpl; protected: virtual ~OFormLayerXMLExport(); @@ -173,7 +174,7 @@ namespace xmloff class XMLOFF_DLLPUBLIC OOfficeFormsExport { private: - OFormsRootExport* m_pImpl; + std::unique_ptr<OFormsRootExport> m_pImpl; public: OOfficeFormsExport( SvXMLExport& _rExp ); |