diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-27 16:12:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-27 20:48:19 +0000 |
commit | 9aebc26c9b0aa85acdd8429d16c996f359de3062 (patch) | |
tree | e189f5e28344b59104b248c6ed61215eda19d2e4 /vcl/source | |
parent | 00f0694c09241e7708e9443c34b3896be50dfda5 (diff) |
Animation dtor will be called anyway, so drop Clear
Change-Id: Ifa5a1cf6d782af0bb73ceff10f5a2a2daa4457d4
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/impgraph.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index 575ad21ffad9..7425678f0fa4 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -298,13 +298,7 @@ void ImpGraphic::ImplClearGraphics() { maEx.Clear(); maMetaFile.Clear(); - - if( mpAnimation ) - { - mpAnimation->Clear(); - mpAnimation.reset(); - } - + mpAnimation.reset(); mpGfxLink.reset(); maSvgData.reset(); maPdfData = uno::Sequence<sal_Int8>(); |