Kaydet (Commit) 0267612d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin default value for a bool parameter that was defaulted in only one place

Change-Id: Ie5d4339639a034c4be991c9302576a116866b085
üst 8c64b2e0
......@@ -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();
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment