diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-13 12:35:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-13 12:36:36 +0200 |
commit | 373a9b9bb62c50072c06e28fd932afb6e71ba687 (patch) | |
tree | dc6b72474110a4311d7ab57d42dc4bda5c221e4b /svtools | |
parent | 3c4fd27392bd153e043eeb60907eeded48c60cf2 (diff) |
loplugin:redundantcast: redundant const_cast followed by implicit upcast
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/uno/toolboxcontroller.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/wizard/unowizard.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx index 5b21c44bb48d..a22fd414fb9c 100644 --- a/svtools/source/uno/toolboxcontroller.cxx +++ b/svtools/source/uno/toolboxcontroller.cxx @@ -708,7 +708,7 @@ com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_C ::cppu::IPropertyArrayHelper& ToolboxController::getInfoHelper() { - return *const_cast<ToolboxController*>(this)->getArrayHelper(); + return *getArrayHelper(); } diff --git a/svtools/source/uno/wizard/unowizard.cxx b/svtools/source/uno/wizard/unowizard.cxx index c9d4a8f7d8e3..b0998a583420 100644 --- a/svtools/source/uno/wizard/unowizard.cxx +++ b/svtools/source/uno/wizard/unowizard.cxx @@ -308,7 +308,7 @@ namespace { ::cppu::IPropertyArrayHelper& SAL_CALL Wizard::getInfoHelper() { - return *const_cast< Wizard* >( this )->getArrayHelper(); + return *getArrayHelper(); } |