diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-25 16:12:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-26 08:55:07 +0200 |
commit | dbe081749d9c64c54fd19340a3696237a4ebdf20 (patch) | |
tree | 238bad7dc36ecb9daa10b5945d652e008e1ac8cd | |
parent | 0a0290b25221265980a33c76a9897dafa9d16303 (diff) |
remove unused code ScDocument::IsEmptyData(short, short)
and the consequently unused code
ScTable::IsEmptyData(short, short)
Change-Id: I622de7c1118d61c0e434f80d1b7c41ace24c5592
-rw-r--r-- | sc/inc/document.hxx | 5 | ||||
-rw-r--r-- | sc/inc/table.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/documen8.cxx | 9 | ||||
-rw-r--r-- | sc/source/core/data/table2.cxx | 8 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
5 files changed, 0 insertions, 25 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 4b777d08844c..5df7de23ba6c 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1764,11 +1764,6 @@ public: SC_DLLPUBLIC ScMacroManager* GetMacroManager(); - /** - * See if specified column has any non-empty cells. - */ - bool IsEmptyData( SCTAB nTab, SCCOL nCol ) const; - void FillMatrix( ScMatrix& rMat, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) const; /** diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 2290107283b1..3f75563a83d4 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -514,8 +514,6 @@ public: 0; } - bool IsEmptyData( SCCOL nCol ) const; - void ResetChanged( const ScRange& rRange ); void SetDirty(); diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx index e5cf04e52120..9cf34e3cbd4c 100644 --- a/sc/source/core/data/documen8.cxx +++ b/sc/source/core/data/documen8.cxx @@ -417,15 +417,6 @@ ScMacroManager* ScDocument::GetMacroManager() return mpMacroMgr.get(); } -bool ScDocument::IsEmptyData( SCTAB nTab, SCCOL nCol ) const -{ - const ScTable* pTab = FetchTable(nTab); - if (!pTab) - return true; - - return pTab->IsEmptyData(nCol); -} - void ScDocument::FillMatrix( ScMatrix& rMat, SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2 ) const { diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index a09cae146b14..5ac15daae44b 100644 --- a/sc/source/core/data/table2.cxx +++ b/sc/source/core/data/table2.cxx @@ -1782,14 +1782,6 @@ void ScTable::CalcAfterLoad( sc::CompileFormulaContext& rCxt ) aCol[i].CalcAfterLoad(rCxt); } -bool ScTable::IsEmptyData( SCCOL nCol ) const -{ - if (!ValidCol(nCol)) - return true; - - return aCol[nCol].IsEmptyData(); -} - void ScTable::ResetChanged( const ScRange& rRange ) { SCCOL nStartCol = rRange.aStart.Col(); diff --git a/unusedcode.easy b/unusedcode.easy index 3df9040a215b..d9f50388455c 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -77,7 +77,6 @@ ScDBQueryDataIterator::DataAccessInternal::setPos(unsigned long) ScDPFilteredCache::SingleFilter::getMatchValue() const ScDocument::CreateFormatTable() const ScDocument::GetCellCount(short, short) const -ScDocument::IsEmptyData(short, short) const ScExtIButton::GetSelected() const ScFlatBoolRowSegments::getValue(int) ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short) |