summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-06-14 15:32:21 +0200
committerEike Rathke <erack@redhat.com>2018-06-14 15:33:18 +0200
commit167c9300712bfc06cc386891798388977d785ecc (patch)
tree829310e08630cb027e76f8e61ce841be76fbea6e /sc
parente23363f51e5d24710b032b795e715ad91adee8c9 (diff)
Remove now unused ScCellIterator::hasEmptyData()
Change-Id: I716df68580ecee147d45ff5a408c82c5010089bf
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/dociter.hxx1
-rw-r--r--sc/source/core/data/dociter.cxx11
2 files changed, 0 insertions, 12 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx
index 920759abc8c4..a702c392d738 100644
--- a/sc/inc/dociter.hxx
+++ b/sc/inc/dociter.hxx
@@ -237,7 +237,6 @@ public:
const ScRefCellValue& getRefCellValue() const { return maCurCell;}
bool hasString() const;
- bool hasEmptyData() const;
bool isEmpty() const;
bool equalsWithoutFormat( const ScAddress& rPos ) const;
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 374a4914d7b8..9b1598e17b80 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -1008,17 +1008,6 @@ bool ScCellIterator::hasString() const
return maCurCell.hasString();
}
-bool ScCellIterator::hasEmptyData() const
-{
- if (maCurCell.isEmpty())
- return true;
-
- if (maCurCell.meType == CELLTYPE_FORMULA)
- return maCurCell.mpFormula->IsEmpty();
-
- return false;
-}
-
bool ScCellIterator::isEmpty() const
{
return maCurCell.isEmpty();