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 /xmloff/source/draw/animationexport.cxx | |
parent | 32d4c03cba399ada807b8ec113a3928aa9e3ff7b (diff) |
use unique_ptr for pImpl's in xmloff/
Change-Id: Ib95118941938af83fed566a085837e17f092017a
Diffstat (limited to 'xmloff/source/draw/animationexport.cxx')
-rw-r--r-- | xmloff/source/draw/animationexport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx index 547bd6929946..f911e6741307 100644 --- a/xmloff/source/draw/animationexport.cxx +++ b/xmloff/source/draw/animationexport.cxx @@ -1674,13 +1674,12 @@ void AnimationsExporterImpl::prepareValue( const Any& rValue ) } AnimationsExporter::AnimationsExporter( SvXMLExport& rExport, const Reference< XPropertySet >& xPageProps ) + : mpImpl( new AnimationsExporterImpl( rExport, xPageProps ) ) { - mpImpl = new AnimationsExporterImpl( rExport, xPageProps ); } AnimationsExporter::~AnimationsExporter() { - delete mpImpl; } void AnimationsExporter::prepare( Reference< XAnimationNode > xRootNode ) |