diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-10 14:43:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-10 15:05:52 +0200 |
commit | ed48a8af3f84ff327a310124a348f6bbe5fa3519 (patch) | |
tree | 7ba84cc162dc06d18b2c6a02f7cb5218d3ef0382 /include/vcl/outdev.hxx | |
parent | Remove OpenGLContext GC window. (diff) | |
download | core-ed48a8af3f84ff327a310124a348f6bbe5fa3519.tar.gz core-ed48a8af3f84ff327a310124a348f6bbe5fa3519.zip |
loplugin:redundantcast
Change-Id: I62aa8ca0f07dce9a820527ac1aef9c44cd70223a
Diffstat (limited to 'include/vcl/outdev.hxx')
-rw-r--r-- | include/vcl/outdev.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx index 7066df422763..16f44b8085f5 100644 --- a/include/vcl/outdev.hxx +++ b/include/vcl/outdev.hxx @@ -281,7 +281,7 @@ private: { assert(mnRefCnt>0); if (!--mnRefCnt) - delete const_cast<OutputDevice*>(this); + delete this; } private: |