diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-08 14:17:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-09 08:28:04 +0200 |
commit | 4763091bbecab8722a43d0ed73eafc0a1f596242 (patch) | |
tree | 095cad3f795be38a6fa64d4b4ad452619433972c /forms | |
parent | ac528503b4c172dd322841681b7aa9180a95721d (diff) |
loplugin:constantparam
Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2
Reviewed-on: https://gerrit.libreoffice.org/37390
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/helper/controlfeatureinterception.cxx | 10 | ||||
-rw-r--r-- | forms/source/inc/controlfeatureinterception.hxx | 5 |
2 files changed, 2 insertions, 13 deletions
diff --git a/forms/source/helper/controlfeatureinterception.cxx b/forms/source/helper/controlfeatureinterception.cxx index 1196afd70742..4bb4ef189a1a 100644 --- a/forms/source/helper/controlfeatureinterception.cxx +++ b/forms/source/helper/controlfeatureinterception.cxx @@ -127,21 +127,15 @@ namespace frm } } - Reference< XDispatch > ControlFeatureInterception::queryDispatch( const URL& _rURL, const OUString& _rTargetFrameName ) + Reference< XDispatch > ControlFeatureInterception::queryDispatch( const URL& _rURL ) { Reference< XDispatch > xDispatcher; if ( m_xFirstDispatchInterceptor.is() ) - xDispatcher = m_xFirstDispatchInterceptor->queryDispatch( _rURL, _rTargetFrameName, 0 ); + xDispatcher = m_xFirstDispatchInterceptor->queryDispatch( _rURL, OUString(), 0 ); return xDispatcher; } - Reference< XDispatch > ControlFeatureInterception::queryDispatch( const URL& _rURL ) - { - return queryDispatch( _rURL, OUString() ); - } - - Reference< XDispatch > ControlFeatureInterception::queryDispatch( const sal_Char* _pAsciiURL ) { return queryDispatch( m_pUrlTransformer->getStrictURLFromAscii( _pAsciiURL ) ); diff --git a/forms/source/inc/controlfeatureinterception.hxx b/forms/source/inc/controlfeatureinterception.hxx index b757e20ca198..80d3a2cab8f0 100644 --- a/forms/source/inc/controlfeatureinterception.hxx +++ b/forms/source/inc/controlfeatureinterception.hxx @@ -68,11 +68,6 @@ namespace frm // XComponent void SAL_CALL dispose(); - /** queries the interceptor chain for the given dispatch - */ - css::uno::Reference< css::frame::XDispatch > - queryDispatch( const css::util::URL& _rURL, const OUString& _rTargetFrameName ); - /** queries the interceptor chain for the given dispatch, with a blank target frame and no frame search flags */ css::uno::Reference< css::frame::XDispatch > |