diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 12:26:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 14:23:39 +0200 |
commit | 56be2245bf11ddb64fcfbf8175a864d688ac5c1a (patch) | |
tree | 567e7e061a2d1caf653fd44cc02e9c26512cb230 /dbaccess/source/ui/dlg/adminpages.cxx | |
parent | 2702c2d1eb9af2d03d5e0a1b7704ab170a5e8d31 (diff) |
loplugin:constparams in dbaccess
Change-Id: I4994c4f0ae614c8f98466f440412f28380ddd6a6
Reviewed-on: https://gerrit.libreoffice.org/40589
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/dlg/adminpages.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/adminpages.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/adminpages.cxx b/dbaccess/source/ui/dlg/adminpages.cxx index 8862f712ac0a..d5850a03961b 100644 --- a/dbaccess/source/ui/dlg/adminpages.cxx +++ b/dbaccess/source/ui/dlg/adminpages.cxx @@ -119,7 +119,7 @@ namespace dbaui { callModifiedHdl(&rCtrl); } - bool OGenericAdministrationPage::getSelectedDataSource(OUString& _sReturn, OUString& _sCurr) + bool OGenericAdministrationPage::getSelectedDataSource(OUString& _sReturn, OUString const & _sCurr) { // collect all ODBC data source names StringBag aOdbcDatasources; @@ -192,7 +192,7 @@ namespace dbaui { return true; } - void OGenericAdministrationPage::fillBool( SfxItemSet& _rSet, CheckBox* _pCheckBox, sal_uInt16 _nID, bool& _bChangedSomething, bool _bRevertValue ) + void OGenericAdministrationPage::fillBool( SfxItemSet& _rSet, CheckBox const * _pCheckBox, sal_uInt16 _nID, bool& _bChangedSomething, bool _bRevertValue ) { if ( _pCheckBox && _pCheckBox->IsValueChangedFromSaved() ) { @@ -213,7 +213,7 @@ namespace dbaui _bChangedSomething = true; } } - void OGenericAdministrationPage::fillInt32(SfxItemSet& _rSet, NumericField* _pEdit, sal_uInt16 _nID, bool& _bChangedSomething) + void OGenericAdministrationPage::fillInt32(SfxItemSet& _rSet, NumericField const * _pEdit, sal_uInt16 _nID, bool& _bChangedSomething) { if( _pEdit && _pEdit->IsValueChangedFromSaved() ) { @@ -221,7 +221,7 @@ namespace dbaui _bChangedSomething = true; } } - void OGenericAdministrationPage::fillString(SfxItemSet& _rSet, Edit* _pEdit, sal_uInt16 _nID, bool& _bChangedSomething) + void OGenericAdministrationPage::fillString(SfxItemSet& _rSet, Edit const * _pEdit, sal_uInt16 _nID, bool& _bChangedSomething) { if( _pEdit && _pEdit->IsValueChangedFromSaved() ) { |