summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-13 09:01:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-13 08:02:35 +0000
commit790944461439208ef25e8592ba70c589f7dfff14 (patch)
tree228972bf0832ad97c23881c1b9bb634e4c1cae22 /vcl
parent0164c20006af3d42d30b522dbfd6d6d937a47ff5 (diff)
loplugin:vclwidgets
Change-Id: I3567c3f9c5fe8374abd81d3f6e9a4a41e6a4c23d (cherry picked from commit de9333d9b6f87d6f6d13e5ddf1fc65b8fef635e8) Reviewed-on: https://gerrit.libreoffice.org/26213 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/outdev.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index 43f24fa962e3..01aedbb6eecb 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -139,6 +139,11 @@ OutputDevice::OutputDevice() :
mpOutDevData->mpInverseViewTransform = nullptr;
}
+OutputDevice::~OutputDevice()
+{
+ disposeOnce();
+}
+
void OutputDevice::dispose()
{
if ( GetUnoGraphicsList() )