summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJavier Catala <j_catala@yahoo.com>2012-04-26 11:23:47 +0200
committerJesús Corrius <jesus@softcatala.org>2012-04-26 11:24:09 +0200
commit81647009acd50ba057ccdae8e8fe09f8a4335e28 (patch)
tree00c58ad0cb399660e42849c2c3b0b2f1388f50ac /sc
parent6f7defd274fd2f3b48356cc5f221dfca4fbd1290 (diff)
Remove unused method ScDPObject::HasGroups
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dpobject.hxx1
-rw-r--r--sc/source/core/data/dpobject.cxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 4f97b404ad79..64525fdab2e1 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -138,7 +138,6 @@ public:
void InvalidateData();
void ClearTableData();
void ReloadGroupTableData();
- bool HasGroups() const;
void Output( const ScAddress& rPos );
ScRange GetNewOutputRange( bool& rOverflow );
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 2a431da3fbc4..a3ae9abdaa06 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -585,18 +585,6 @@ void ScDPObject::ReloadGroupTableData()
bSettingsChanged = true;
}
-bool ScDPObject::HasGroups() const
-{
- if (!pSaveData)
- return false;
-
- const ScDPDimensionSaveData* pDimData = pSaveData->GetExistingDimensionData();
- if (!pDimData)
- return false;
-
- return pDimData->HasGroupDimensions();
-}
-
void ScDPObject::ClearSource()
{
Reference< XComponent > xObjectComp( xSource, UNO_QUERY );