diff options
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/animimp.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/inc/animimp.hxx b/xmloff/inc/animimp.hxx index 19b9bbed303a..0a07b3fe0e28 100644 --- a/xmloff/inc/animimp.hxx +++ b/xmloff/inc/animimp.hxx @@ -20,6 +20,8 @@ #ifndef INCLUDED_XMLOFF_INC_ANIMIMP_HXX #define INCLUDED_XMLOFF_INC_ANIMIMP_HXX +#include <memory> + #include <xmloff/xmlictxt.hxx> #include <com/sun/star/drawing/XShapes.hpp> @@ -29,7 +31,7 @@ class AnimImpImpl; class XMLAnimationsContext : public SvXMLImportContext { - AnimImpImpl* mpImpl; + std::shared_ptr<AnimImpImpl> mpImpl; public: @@ -37,7 +39,6 @@ public: sal_uInt16 nPrfx, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList); - virtual ~XMLAnimationsContext(); virtual SvXMLImportContext * CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; |