Kaydet (Commit) 191e0258 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Reverse the boolean logic.

To have the 'true' value associate with action and 'false' with
inaction.

Change-Id: Icf61b1cb8642a72390d1f2aa45ca25fb67ec0dbd
üst f7e01c58
......@@ -1292,7 +1292,7 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
// pCode may not deleted for queries, but must be empty
pCode->Clear();
bool bSkipCompile = false;
bool bDoCompile = true;
if ( !mxGroup && aFormulaNmsp.isEmpty() ) // optimization
{
......@@ -1328,7 +1328,7 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
if (bSubTotal)
pDocument->AddSubTotalCell(this);
bSkipCompile = true;
bDoCompile = false;
pCode = pPreviousCell->pCode;
if (pPreviousCell->mbIsExtRef)
pDocument->GetExternalRefManager()->insertRefCellFromTemplate( pPreviousCell, this );
......@@ -1339,7 +1339,7 @@ void ScFormulaCell::CompileXML( sc::CompileFormulaContext& rCxt, ScProgress& rPr
}
}
if (!bSkipCompile)
if (bDoCompile)
{
ScTokenArray* pCodeOld = pCode;
pCode = aComp.CompileString( aFormula, aFormulaNmsp );
......
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