diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-23 14:31:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-24 07:46:23 +0100 |
commit | d2cf4cb76268c600ff7cfcdb6dc97c859f8b6e38 (patch) | |
tree | 42e6a7fc18202a2b8207cd1afbfa503081a97fd6 /chart2 | |
parent | d113fe774252ada99ddec3eeaef080cb67919aa3 (diff) |
loplugin:constparams in basctl..chart2
Change-Id: I9ac9a34ba58f411d5aad235407553df63216319c
Reviewed-on: https://gerrit.libreoffice.org/66791
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/tp_DataSource.cxx | 2 | ||||
-rw-r--r-- | chart2/source/controller/dialogs/tp_DataSource.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_DataSource.cxx b/chart2/source/controller/dialogs/tp_DataSource.cxx index 535e401ac1bd..17f32f126772 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.cxx +++ b/chart2/source/controller/dialogs/tp_DataSource.cxx @@ -756,7 +756,7 @@ void DataSourceTabPage::disposingRangeSelection() m_rDialogModel.getRangeSelectionHelper()->stopRangeListening( false ); } -bool DataSourceTabPage::updateModelFromControl(weld::Entry* pField) +bool DataSourceTabPage::updateModelFromControl(const weld::Entry* pField) { if (!m_bIsDirty) return true; diff --git a/chart2/source/controller/dialogs/tp_DataSource.hxx b/chart2/source/controller/dialogs/tp_DataSource.hxx index 7c4f9b437e3e..6a4d9358bdfd 100644 --- a/chart2/source/controller/dialogs/tp_DataSource.hxx +++ b/chart2/source/controller/dialogs/tp_DataSource.hxx @@ -97,7 +97,7 @@ private: <TRUE/> if the text from the field is a valid format to the internal data was valid */ - bool updateModelFromControl(weld::Entry* pField = nullptr); + bool updateModelFromControl(const weld::Entry* pField = nullptr); /** @return </sal_True>, if the edit field contains a valid range entry. If no XCellRangesAccess can be obtained, </sal_False> is returned. |