sc/inc/dociter.hxx | 4 ++-- sc/source/core/tool/interpr1.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 0267612dfb997032a870ae5c06171008c3af98d4 Author: Tor Lillqvist <t...@collabora.com> Date: Mon Jul 31 21:03:00 2017 +0300 Bin default value for a bool parameter that was defaulted in only one place Change-Id: Ie5d4339639a034c4be991c9302576a116866b085 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits