summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
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/gdi
parent148953244fc8d741ef84ef777ad566ae80edd28a (diff)
loplugin:redundantcast: const_cast to same type
Change-Id: I610fd4cf9339fd5c18eb77e7c94ffd0f99e9b125
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/impgraph.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx
index c19acc0535f6..e7626e347f82 100644
--- a/vcl/source/gdi/impgraph.cxx
+++ b/vcl/source/gdi/impgraph.cxx
@@ -697,7 +697,7 @@ void ImpGraphic::ImplSetPrefSize( const Size& rPrefSize )
if(maSvgData.get() && maEx.IsEmpty())
{
// use maEx as local buffer for rendered svg
- const_cast< ImpGraphic* >(this)->maEx = maSvgData->getReplacement();
+ maEx = maSvgData->getReplacement();
}
// #108077# Push through pref size to animation object,