[Libreoffice-commits] core.git: Branch 'feature/vclptr' - include/vcl
Noel Grandin
noel at peralex.com
Fri Apr 10 06:06:17 PDT 2015
include/vcl/outdev.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ed48a8af3f84ff327a310124a348f6bbe5fa3519
Author: Noel Grandin <noel at peralex.com>
Date: Fri Apr 10 14:43:23 2015 +0200
loplugin:redundantcast
Change-Id: I62aa8ca0f07dce9a820527ac1aef9c44cd70223a
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 7066df4..16f44b8 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:
More information about the Libreoffice-commits
mailing list