diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 09:57:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-18 11:13:05 +0200 |
commit | c932e26138d9dda1d3dad5e2472a79d42c0a816c (patch) | |
tree | 28652c256477174a536094bf398e65dc1d0ad045 /toolkit/source/controls/controlmodelcontainerbase.cxx | |
parent | e530689ef6ba79a26162670580ba28f9b09eb689 (diff) |
loplugin:constparams in toolkit,ucb,xmlhelp
Change-Id: I2287bf468aae5008e25aa8b1bc0b63cff7bb1bf1
Reviewed-on: https://gerrit.libreoffice.org/40117
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 2a26fdf76b79..edee732e8452 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -1323,7 +1323,7 @@ void ControlContainerBase::createPeer( const Reference< XToolkit > & rxToolkit, UnoControlContainer::createPeer( rxToolkit, rParentPeer ); } -void ControlContainerBase::ImplInsertControl( Reference< XControlModel >& rxModel, const OUString& rName ) +void ControlContainerBase::ImplInsertControl( Reference< XControlModel > const & rxModel, const OUString& rName ) { Reference< XPropertySet > xP( rxModel, UNO_QUERY ); @@ -1344,7 +1344,7 @@ void ControlContainerBase::ImplInsertControl( Reference< XControlModel >& rxMode } } -void ControlContainerBase::ImplRemoveControl( Reference< XControlModel >& rxModel ) +void ControlContainerBase::ImplRemoveControl( Reference< XControlModel > const & rxModel ) { Sequence< Reference< XControl > > aControls = getControls(); Reference< XControl > xCtrl = StdTabController::FindControl( aControls, rxModel ); |