diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-24 12:24:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-24 15:15:14 +0200 |
commit | c137c2a46cd2276938d572c97fb111b9aa31cdfd (patch) | |
tree | 9fe4c1809e836f3c177fd930b632af6cad5407c0 /sc/source/ui/dataprovider | |
parent | 9fe857b7bd126ff4856fc4689d375881653b97a2 (diff) |
loplugin:constparam in sc part5
Change-Id: Iba249d4d8f7cc686941106983031bae53c7528e1
Reviewed-on: https://gerrit.libreoffice.org/41510
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/dataprovider')
-rw-r--r-- | sc/source/ui/dataprovider/dataprovider.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/dataprovider/datatransformation.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dataprovider/dataprovider.cxx b/sc/source/ui/dataprovider/dataprovider.cxx index 57b22ce7d4d7..f7631107abf2 100644 --- a/sc/source/ui/dataprovider/dataprovider.cxx +++ b/sc/source/ui/dataprovider/dataprovider.cxx @@ -99,7 +99,7 @@ OUString ExternalDataSource::getDBName() const return OUString(); } -void ExternalDataSource::setDBData(ScDBData* pDBData) +void ExternalDataSource::setDBData(const ScDBData* pDBData) { if (!mpDBDataManager) { diff --git a/sc/source/ui/dataprovider/datatransformation.cxx b/sc/source/ui/dataprovider/datatransformation.cxx index 15e30b0f13c7..0ed27e568d3c 100644 --- a/sc/source/ui/dataprovider/datatransformation.cxx +++ b/sc/source/ui/dataprovider/datatransformation.cxx @@ -17,7 +17,7 @@ DataTransformation::~DataTransformation() { } -SCROW DataTransformation::getLastRow(ScDocument& rDoc, SCCOL nCol) +SCROW DataTransformation::getLastRow(const ScDocument& rDoc, SCCOL nCol) { SCROW nStartRow = 0; SCROW nEndRow = MAXROW; |