From bdc8fda4be875ff9cfa9c3f4b5e40284a8637374 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Sep 2019 13:31:52 +0200 Subject: loplugin:constmethod in sc Change-Id: I78c4fb4acf21756f91582caee5e30e3ad1fc2ae4 Reviewed-on: https://gerrit.libreoffice.org/79543 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/unoobj/dapiuno.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sc/source/ui/unoobj/dapiuno.cxx') diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index e36b21b8aa98..5576c994f333 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -2173,7 +2173,7 @@ void ScDataPilotFieldObj::setUseCurrentPage( bool bUse ) } } -const DataPilotFieldAutoShowInfo* ScDataPilotFieldObj::getAutoShowInfo() +const DataPilotFieldAutoShowInfo* ScDataPilotFieldObj::getAutoShowInfo() const { SolarMutexGuard aGuard; ScDPSaveDimension* pDim = GetDPDimension(); @@ -2191,7 +2191,7 @@ void ScDataPilotFieldObj::setAutoShowInfo( const DataPilotFieldAutoShowInfo* pIn } } -const DataPilotFieldLayoutInfo* ScDataPilotFieldObj::getLayoutInfo() +const DataPilotFieldLayoutInfo* ScDataPilotFieldObj::getLayoutInfo() const { SolarMutexGuard aGuard; ScDPSaveDimension* pDim = GetDPDimension(); @@ -2209,7 +2209,7 @@ void ScDataPilotFieldObj::setLayoutInfo( const DataPilotFieldLayoutInfo* pInfo ) } } -const DataPilotFieldReference* ScDataPilotFieldObj::getReference() +const DataPilotFieldReference* ScDataPilotFieldObj::getReference() const { SolarMutexGuard aGuard; ScDPSaveDimension* pDim = GetDPDimension(); @@ -2227,7 +2227,7 @@ void ScDataPilotFieldObj::setReference( const DataPilotFieldReference* pInfo ) } } -const DataPilotFieldSortInfo* ScDataPilotFieldObj::getSortInfo() +const DataPilotFieldSortInfo* ScDataPilotFieldObj::getSortInfo() const { SolarMutexGuard aGuard; ScDPSaveDimension* pDim = GetDPDimension(); @@ -2281,7 +2281,7 @@ void ScDataPilotFieldObj::setRepeatItemLabels( bool bShow ) } } -bool ScDataPilotFieldObj::hasGroupInfo() +bool ScDataPilotFieldObj::hasGroupInfo() const { SolarMutexGuard aGuard; ScDPObject* pDPObj = nullptr; -- cgit v1.2.3