[Libreoffice-commits] core.git: sc/inc sc/source
Eike Rathke
erack at redhat.com
Thu Jun 14 13:33:46 UTC 2018
sc/inc/dociter.hxx | 1 -
sc/source/core/data/dociter.cxx | 11 -----------
2 files changed, 12 deletions(-)
New commits:
commit 167c9300712bfc06cc386891798388977d785ecc
Author: Eike Rathke <erack at 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();
More information about the Libreoffice-commits
mailing list