summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-29 12:05:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-29 12:05:03 +0200
commit696f96f34b9e4cc384ecb3481b018301f493fc23 (patch)
treefc3bdedfa171e02a20fea868187979e90a57c8e3 /vcl/source/app
parent148953244fc8d741ef84ef777ad566ae80edd28a (diff)
loplugin:redundantcast: const_cast to same type
Change-Id: I610fd4cf9339fd5c18eb77e7c94ffd0f99e9b125
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svapp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 4edae11f6abe..34bc5505404b 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1668,7 +1668,7 @@ ImplDelData::~ImplDelData()
if( !mbDel && mpWindow )
{
// the window still exists but we were not removed
- const_cast<vcl::Window*>(mpWindow.get())->ImplRemoveDel( this );
+ mpWindow.get()->ImplRemoveDel( this );
mpWindow = NULL;
}
}