summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-27 16:12:04 +0000
committerJan Holesovsky <kendy@collabora.com>2018-05-22 12:16:57 +0200
commit1ae7124c7409a77e91a2eaf1182a8b06f69b21d3 (patch)
tree917f5302e4e8defc913b36f84b81f00757678eb5 /vcl/source
parentb979bc1f0beb254132efb4edbaf5d76ab7267f10 (diff)
Animation dtor will be called anyway, so drop Clear
Change-Id: Ifa5a1cf6d782af0bb73ceff10f5a2a2daa4457d4 (cherry picked from commit 9aebc26c9b0aa85acdd8429d16c996f359de3062)
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/impgraph.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index b3cbe6126d9f..b8b893553c49 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>();