summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-02 13:31:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-02 13:31:15 +0200
commit434ccf734addc8f26b955bcc418fe3047e0cfdfc (patch)
tree37fcd9433f01d69a24c4943ca844e8fb6dac6779 /svx
parentb6aac4e597263f16703feeeab4007c96ad5ac209 (diff)
Improved loplugin:redundantcast const_cast handling: svx
Change-Id: I6a504593e6331c75053bce4743d2671277c9204f
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmpgeimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx
index e97ba5832b8f..e4eb82b6531a 100644
--- a/svx/source/form/fmpgeimp.cxx
+++ b/svx/source/form/fmpgeimp.cxx
@@ -149,7 +149,7 @@ namespace
void FmFormPageImpl::initFrom( FmFormPageImpl& i_foreignImpl )
{
// clone the Forms collection
- const Reference< css::form::XForms > xForeignForms( const_cast< FmFormPageImpl& >( i_foreignImpl ).getForms( false ) );
+ const Reference< css::form::XForms > xForeignForms( i_foreignImpl.getForms( false ) );
if ( !xForeignForms.is() )
return;