summaryrefslogtreecommitdiff
path: root/vcl/source/outdev
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-30 14:09:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-06 06:38:30 +0000
commit716844c6ab7cfc18efd61b0f77e285d453b6cc29 (patch)
tree868d93c4bfd99a84c339cb8e00202fe07d8affb2 /vcl/source/outdev
parenteff871de05c5efdac0d0397b539b3b5e999672c9 (diff)
restore loplugin:vclwidget checking for calling clear() on VclPtr fields
Change-Id: I85eda1c33016c1461d897fc0a3b70457209a7405 Reviewed-on: https://gerrit.libreoffice.org/26806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/outdev')
-rw-r--r--vcl/source/outdev/outdev.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/outdev/outdev.cxx b/vcl/source/outdev/outdev.cxx
index b1bd83ab5662..04d1210ca690 100644
--- a/vcl/source/outdev/outdev.cxx
+++ b/vcl/source/outdev/outdev.cxx
@@ -208,7 +208,8 @@ void OutputDevice::dispose()
}
mpAlphaVDev.disposeAndClear();
-
+ mpPrevGraphics.clear();
+ mpNextGraphics.clear();
VclReferenceBase::dispose();
}