diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 08:31:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-24 08:27:40 +0100 |
commit | 09d56ba6d907199b124929272db9b5f61e0bb2d9 (patch) | |
tree | 98189ed1cd71f3311a80c8d008b66ec491d642f6 /include/oox/ppt/animationspersist.hxx | |
parent | d4ed6ff5c1d0638dd46d3a2272c5c54b9700551f (diff) |
loplugin:makeshared in oox
Change-Id: I6502e7be4881834b143ec7207c432881b2ae263c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87322
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox/ppt/animationspersist.hxx')
-rw-r--r-- | include/oox/ppt/animationspersist.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/ppt/animationspersist.hxx b/include/oox/ppt/animationspersist.hxx index cd18b9101615..aa808b4908fc 100644 --- a/include/oox/ppt/animationspersist.hxx +++ b/include/oox/ppt/animationspersist.hxx @@ -98,7 +98,7 @@ namespace oox { namespace ppt { static css::uno::Any convertList(const SlidePersistPtr & pSlide, const AnimationConditionList & l); AnimTargetElementPtr & getTarget() - { if(!mpTarget) mpTarget.reset( new AnimTargetElement ); return mpTarget; } + { if(!mpTarget) mpTarget = std::make_shared<AnimTargetElement>(); return mpTarget; } css::uno::Any maValue; sal_Int32 mnType; private: |