summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dptabsrc.cxx
diff options
context:
space:
mode:
authorAlfonso Eusebio <alfonso_eusebio@yahoo.co.uk>2011-02-02 18:24:01 +0000
committerKohei Yoshida <kyoshida@novell.com>2011-02-02 17:53:16 -0500
commit7480010e50473555d6be3435a29448292db25e56 (patch)
tree96103306f16a525c4c3ee4a58d31ffd4f206647f /sc/source/core/data/dptabsrc.cxx
parent724ccbd4fdb39dbfbe78d1e95685dd66391ebd0c (diff)
Removed unused functions from calc 2
Removed some more unused functions from calc as identified by call-catcher.
Diffstat (limited to 'sc/source/core/data/dptabsrc.cxx')
-rw-r--r--sc/source/core/data/dptabsrc.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx
index 7c84e9f97cc3..c14977c000f6 100644
--- a/sc/source/core/data/dptabsrc.cxx
+++ b/sc/source/core/data/dptabsrc.cxx
@@ -161,11 +161,6 @@ ScDPSource::~ScDPSource()
delete pResData;
}
-void ScDPSource::SetGrandTotalName(const ::rtl::OUString& rName)
-{
- mpGrandTotalName.reset(new ::rtl::OUString(rName));
-}
-
const ::rtl::OUString* ScDPSource::GetGrandTotalName() const
{
return mpGrandTotalName.get();
@@ -325,11 +320,6 @@ BOOL ScDPSource::IsDateDimension(long nDim)
return pData->IsDateDimension(nDim);
}
-UINT32 ScDPSource::GetNumberFormat(long nDim)
-{
- return pData->GetNumberFormat( nDim );
-}
-
ScDPDimensions* ScDPSource::GetDimensionsObject()
{
if (!pDimensions)
@@ -1529,19 +1519,6 @@ const ScDPItemData& ScDPDimension::GetSelectedData()
return *pSelectedData;
}
-BOOL ScDPDimension::IsVisible( const ScDPItemData& rData )
-{
- if( ScDPMembers* pMembers = this->GetHierarchiesObject()->getByIndex(0)->
- GetLevelsObject()->getByIndex(0)->GetMembersObject() )
- {
- for( long i = pMembers->getCount()-1; i>=0; i-- )
- if( ScDPMember *pDPMbr = pMembers->getByIndex( i ) )
- if( rData.IsCaseInsEqual( pDPMbr->GetItemData() ) && !pDPMbr->getIsVisible() )
- return FALSE;
- }
-
- return TRUE;
-}
// XPropertySet
uno::Reference<beans::XPropertySetInfo> SAL_CALL ScDPDimension::getPropertySetInfo()