From f8f606297d53eb216ff0c3c269de40058513e0a5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Sep 2019 16:07:24 +0200 Subject: loplugin:constmethod in chart2 Change-Id: Ib97571b3750bd832d0d69a1530e6c8589134c633 Reviewed-on: https://gerrit.libreoffice.org/78601 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/model/main/ChartModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/source/model/main') 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 xPivotTableDataProvider(m_xDataProvider, uno::UNO_QUERY); return xPivotTableDataProvider.is(); -- cgit