[Libreoffice-commits] .: sc/inc sc/source unusedcode.easy
Jesús Corrius
jcorrius at kemper.freedesktop.org
Thu Apr 26 02:24:28 PDT 2012
sc/inc/dpobject.hxx | 1 -
sc/source/core/data/dpobject.cxx | 12 ------------
unusedcode.easy | 1 -
3 files changed, 14 deletions(-)
New commits:
commit 81647009acd50ba057ccdae8e8fe09f8a4335e28
Author: Javier Catala <j_catala at yahoo.com>
Date: Thu Apr 26 11:23:47 2012 +0200
Remove unused method ScDPObject::HasGroups
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 4f97b40..64525fd 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 2a431da..a3ae9ab 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 f2ca669..3bc7388 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)
More information about the Libreoffice-commits
mailing list