diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-04 16:07:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-05 08:26:56 +0200 |
commit | f8f606297d53eb216ff0c3c269de40058513e0a5 (patch) | |
tree | e1acc5482082d74016567a16cfc7a94763734c80 /chart2/source/model | |
parent | 0f3fb26e7622f99560c6514f4b3ae663636025c9 (diff) |
loplugin:constmethod in chart2
Change-Id: Ib97571b3750bd832d0d69a1530e6c8589134c633
Reviewed-on: https://gerrit.libreoffice.org/78601
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 75109a20f79e..3989f8d7e86a 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -1284,7 +1284,7 @@ bool ChartModel::isDataFromSpreadsheet() return !isDataFromPivotTable() && !hasInternalDataProvider(); } -bool ChartModel::isDataFromPivotTable() +bool ChartModel::isDataFromPivotTable() const { uno::Reference<chart2::data::XPivotTableDataProvider> xPivotTableDataProvider(m_xDataProvider, uno::UNO_QUERY); return xPivotTableDataProvider.is(); |