From 167c9300712bfc06cc386891798388977d785ecc Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 14 Jun 2018 15:32:21 +0200 Subject: Remove now unused ScCellIterator::hasEmptyData() Change-Id: I716df68580ecee147d45ff5a408c82c5010089bf --- sc/inc/dociter.hxx | 1 - sc/source/core/data/dociter.cxx | 11 ----------- 2 files changed, 12 deletions(-) (limited to 'sc') 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(); -- cgit