summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/dapiuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 15:27:30 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit468ff4b3b6e20cab284b5f6dbd7c8aa5a1ba1264 (patch)
treec855aa8d55122a03c40815f24c6dcb64a1d4cac2 /sc/source/ui/unoobj/dapiuno.cxx
parenta84c07509d9051084684987ad5ec47631afd50e5 (diff)
loplugin:constantfunction: sc
Change-Id: Id3268114041575d7dbb84e8d963ead566c78b928
Diffstat (limited to 'sc/source/ui/unoobj/dapiuno.cxx')
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 83637c56a6db..7075731674ee 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -1979,7 +1979,7 @@ Any SAL_CALL ScDataPilotFieldObj::getPropertyValue( const OUString& aPropertyNam
else if ( aNameString == SC_UNONAME_SELPAGE )
aRet <<= getCurrentPage();
else if ( aNameString == SC_UNONAME_USESELPAGE )
- aRet <<= getUseCurrentPage();
+ aRet <<= false;
else if ( aNameString == SC_UNONAME_HASAUTOSHOW )
aRet <<= (getAutoShowInfo() != NULL);
else if ( aNameString == SC_UNONAME_AUTOSHOW )
@@ -2227,11 +2227,6 @@ void ScDataPilotFieldObj::setCurrentPage( const OUString& rPage )
}
}
-bool ScDataPilotFieldObj::getUseCurrentPage() const
-{
- return false;
-}
-
void ScDataPilotFieldObj::setUseCurrentPage( bool bUse )
{
SolarMutexGuard aGuard;