summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-13 09:01:07 +0200
committerNoel Grandin <noel@peralex.com>2016-06-13 09:01:07 +0200
commitde9333d9b6f87d6f6d13e5ddf1fc65b8fef635e8 (patch)
tree99bbd1c0964665e064e0fccb939ce91274293d91 /vcl/source/outdev
parentc2d195447feb4d7f8ab6642a8d05bfb85797eb05 (diff)
loplugin:vclwidgets
Change-Id: I3567c3f9c5fe8374abd81d3f6e9a4a41e6a4c23d
Diffstat (limited to 'vcl/source/outdev')
-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 a1c5f12d49b3..4c32c66c3165 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() )