diff options
author | Javier Catala <j_catala@yahoo.com> | 2012-04-26 11:23:47 +0200 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2012-04-26 11:24:09 +0200 |
commit | 81647009acd50ba057ccdae8e8fe09f8a4335e28 (patch) | |
tree | 00c58ad0cb399660e42849c2c3b0b2f1388f50ac | |
parent | 6f7defd274fd2f3b48356cc5f221dfca4fbd1290 (diff) |
Remove unused method ScDPObject::HasGroups
-rw-r--r-- | sc/inc/dpobject.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/dpobject.cxx | 12 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 0 insertions, 14 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 ); diff --git a/unusedcode.easy b/unusedcode.easy index f2ca669082da..3bc7388bf8d2 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -51,7 +51,6 @@ ScCsvControl::ScCsvControl(Window*, ScCsvLayoutData const&, long) ScDBCollection::AnonDBs::erase(boost::void_ptr_iterator<__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<void**, std::__cxx1998::vector<void*, std::allocator<void*> > >, std::__debug::vector<void*, std::allocator<void*> > >, ScDBData>) ScDBCollection::AnonDBs::findByTable(short) const ScDPLabelData::ScDPLabelData(rtl::OUString const&, short, bool) -ScDPObject::HasGroups() const ScHTMLColOffset::Insert(ScHTMLColOffset const*, unsigned short, unsigned short) ScHTMLColOffset::Insert(unsigned long const&, unsigned short&) ScHTMLColOffset::Insert(unsigned long const*, unsigned short) |