diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/dociter.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 0cfda4c72440..2bbb90f31edd 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -293,8 +293,8 @@ class ScQueryCellIterator // walk through all non-empty cells in an ar public: ScQueryCellIterator(ScDocument* pDocument, SCTAB nTable, - const ScQueryParam& aParam, bool bMod = true); - // for bMod = FALSE the QueryParam has to be filled + const ScQueryParam& aParam, bool bMod); + // when !bMod, the QueryParam has to be filled // (bIsString) bool GetFirst(); bool GetNext(); diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 5457403cad39..d0cf16fd3cb1 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -7533,7 +7533,7 @@ void ScInterpreter::ScDBCount() // so the source range has to be restricted, like before the introduction // of ScDBQueryParamBase. p->nCol1 = p->nCol2 = p->mnField; - ScQueryCellIterator aCellIter( pDok, nTab, *p); + ScQueryCellIterator aCellIter( pDok, nTab, *p, true); if ( aCellIter.GetFirst() ) { do |