diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-23 14:33:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-24 07:46:46 +0100 |
commit | 976da2b60ebe4e8bb7c311c1c6325519db6c5bda (patch) | |
tree | 2038efb09576df24fac96fe78e93baa73130253e /dbaccess | |
parent | 48fd4199a665130947033ee431db766c04d8d023 (diff) |
loplugin:constparams in dbaccess..oox
Change-Id: I9c04906dd492c6f8a816f57f40bc31406a871a78
Reviewed-on: https://gerrit.libreoffice.org/66793
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/TablesSingleDlg.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/TablesSingleDlg.hxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/inc/UITools.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/querydlg.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/querydesign/querydlg.hxx | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/dlg/TablesSingleDlg.cxx b/dbaccess/source/ui/dlg/TablesSingleDlg.cxx index b332f0018de6..8673bcf25b5b 100644 --- a/dbaccess/source/ui/dlg/TablesSingleDlg.cxx +++ b/dbaccess/source/ui/dlg/TablesSingleDlg.cxx @@ -33,7 +33,7 @@ using namespace com::sun::star::container; // OTableSubscriptionDialog OTableSubscriptionDialog::OTableSubscriptionDialog(vcl::Window* pParent - ,SfxItemSet* _pItems + ,const SfxItemSet* _pItems ,const Reference< XComponentContext >& _rxORB ,const css::uno::Any& _aDataSourceName) : SfxSingleTabDialog(pParent, _pItems, "TablesFilterDialog", diff --git a/dbaccess/source/ui/inc/TablesSingleDlg.hxx b/dbaccess/source/ui/inc/TablesSingleDlg.hxx index 2df28c524308..a72f70fe756c 100644 --- a/dbaccess/source/ui/inc/TablesSingleDlg.hxx +++ b/dbaccess/source/ui/inc/TablesSingleDlg.hxx @@ -48,7 +48,7 @@ class ODbDataSourceAdministrationHelper; public: OTableSubscriptionDialog(vcl::Window* pParent - ,SfxItemSet* _pItems + ,const SfxItemSet* _pItems ,const css::uno::Reference< css::uno::XComponentContext >& _rxORB ,const css::uno::Any& _aDataSourceName ); diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx index 7a1d7613815a..8b08d08a31ee 100644 --- a/dbaccess/source/ui/inc/UITools.hxx +++ b/dbaccess/source/ui/inc/UITools.hxx @@ -183,11 +183,11 @@ namespace dbaui void callColumnFormatDialog(const css::uno::Reference< css::beans::XPropertySet>& _xAffectedCol, const css::uno::Reference< css::beans::XPropertySet>& _xField, SvNumberFormatter* _pFormatter, - vcl::Window* _pParent); + const vcl::Window* _pParent); /** second variant of the function before */ - bool callColumnFormatDialog(vcl::Window* _pParent, + bool callColumnFormatDialog(const vcl::Window* _pParent, SvNumberFormatter* _pFormatter, sal_Int32 _nDataType, sal_Int32& _nFormatKey, diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index ae2c46f8ee55..af8ec154deb9 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -741,7 +741,7 @@ SvxCellHorJustify mapTextJustify(sal_Int32 _nAlignment) void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol, const Reference<XPropertySet>& xField, SvNumberFormatter* _pFormatter, - vcl::Window* _pParent) + const vcl::Window* _pParent) { if (xAffectedCol.is() && xField.is()) { @@ -774,7 +774,7 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol, } } -bool callColumnFormatDialog(vcl::Window* _pParent, +bool callColumnFormatDialog(const vcl::Window* _pParent, SvNumberFormatter* _pFormatter, sal_Int32 _nDataType, sal_Int32& _nFormatKey, diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx index 2fa5ab16f66e..0370e6b0f38c 100644 --- a/dbaccess/source/ui/querydesign/querydlg.cxx +++ b/dbaccess/source/ui/querydesign/querydlg.cxx @@ -43,7 +43,7 @@ using namespace ::com::sun::star::sdbc; DlgQryJoin::DlgQryJoin( OQueryTableView * pParent, const TTableConnectionData::value_type& _pData, - OJoinTableView::OTableWindowMap* _pTableMap, + const OJoinTableView::OTableWindowMap* _pTableMap, const Reference< XConnection >& _xConnection, bool _bAllowTableSelect) : ModalDialog( pParent, "JoinDialog", "dbaccess/ui/joindialog.ui" ) diff --git a/dbaccess/source/ui/querydesign/querydlg.hxx b/dbaccess/source/ui/querydesign/querydlg.hxx index 004afdc4fc32..08b037a440cd 100644 --- a/dbaccess/source/ui/querydesign/querydlg.hxx +++ b/dbaccess/source/ui/querydesign/querydlg.hxx @@ -62,7 +62,7 @@ namespace dbaui public: DlgQryJoin( OQueryTableView * pParent, const TTableConnectionData::value_type& pData, - OJoinTableView::OTableWindowMap* _pTableMap, + const OJoinTableView::OTableWindowMap* _pTableMap, const css::uno::Reference< css::sdbc::XConnection >& _xConnection, bool _bAllowTableSelect); virtual ~DlgQryJoin() override; |