summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 16:12:00 +0200
committerNoel Grandin <noel@peralex.com>2014-02-26 08:55:07 +0200
commitdbe081749d9c64c54fd19340a3696237a4ebdf20 (patch)
tree238bad7dc36ecb9daa10b5945d652e008e1ac8cd /sc
parent0a0290b25221265980a33c76a9897dafa9d16303 (diff)
remove unused code ScDocument::IsEmptyData(short, short)
and the consequently unused code ScTable::IsEmptyData(short, short) Change-Id: I622de7c1118d61c0e434f80d1b7c41ace24c5592
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx5
-rw-r--r--sc/inc/table.hxx2
-rw-r--r--sc/source/core/data/documen8.cxx9
-rw-r--r--sc/source/core/data/table2.cxx8
4 files changed, 0 insertions, 24 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();