sc/inc/dociter.hxx | 1 - sc/source/core/data/dociter.cxx | 11 ----------- 2 files changed, 12 deletions(-)
New commits: commit 167c9300712bfc06cc386891798388977d785ecc Author: Eike Rathke <er...@redhat.com> Date: Thu Jun 14 15:32:21 2018 +0200 Remove now unused ScCellIterator::hasEmptyData() Change-Id: I716df68580ecee147d45ff5a408c82c5010089bf 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits