diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 12:35:36 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-26 15:36:01 -0400 |
commit | 7c2dd80cbee59aadee20b59aacdf0ba437c765db (patch) | |
tree | 67a1327aa3261160840e99c3f83ca25ba3bb4601 /sc/source/core/tool/interpr1.cxx | |
parent | 0b0e7ca9b3bae3b3295da33e5980f3f4c6a5f532 (diff) |
By using ScRefCellValue we can remove some duplicated code.
Change-Id: I75652172033e4ce00ac239e85d835c7cc9256fe2
Diffstat (limited to 'sc/source/core/tool/interpr1.cxx')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 1b598cff89e9..574612c0b95a 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -4156,7 +4156,7 @@ double ScInterpreter::IterateParameters( ScIterFunc eFunc, bool bTextAsZero ) ScCellIterator aIter( pDok, aRange, glSubTotal ); for (bool bHas = aIter.first(); bHas; bHas = aIter.next()) { - if (!aIter.isEmpty()) + if (!aIter.hasEmptyData()) ++nCount; } @@ -5372,7 +5372,7 @@ void ScInterpreter::ScCountEmptyCells() ScCellIterator aIter( pDok, aRange, glSubTotal); for (bool bHas = aIter.first(); bHas; bHas = aIter.next()) { - if (!aIter.isEmpty()) + if (!aIter.hasEmptyData()) ++nCount; } } |