diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-07-31 21:03:00 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-08-01 11:47:22 +0300 |
commit | 0267612dfb997032a870ae5c06171008c3af98d4 (patch) | |
tree | a7f5ff4754cf16ee865260bb2fd87056d64c96af /sc | |
parent | 8c64b2e06b7495e50c0a8d46d639316283da6a9c (diff) |
Bin default value for a bool parameter that was defaulted in only one place
Change-Id: Ie5d4339639a034c4be991c9302576a116866b085
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 |