Kaydet (Commit) 7dc6fd39 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

some formatting improvements

Change-Id: I77f0fdea3c33fded1ed1a00d3a602a5902a6a0b3
üst 6b30907a
......@@ -1282,16 +1282,17 @@ void ScInterpreter::CalculateAddSub(bool _bSub)
pResMat->PutDouble( _bSub ? ::rtl::math::approxSub( fVal, pMat->GetDouble(i)) : ::rtl::math::approxAdd( pMat->GetDouble(i), fVal), i);
else
pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NO_VALUE)), i);
} // for ( SCSIZE i = 0; i < nCount; i++ )
} // if (bFlag || !_bSub )
}
}
else
{
for ( SCSIZE i = 0; i < nCount; i++ )
{ if (pMat->IsValue(i))
{
if (pMat->IsValue(i))
pResMat->PutDouble( ::rtl::math::approxSub( pMat->GetDouble(i), fVal), i);
else
pResMat->PutString(mrStrPool.intern(ScGlobal::GetRscString(STR_NO_VALUE)), i);
} // for ( SCSIZE i = 0; i < nCount; i++ )
}
}
PushMatrix(pResMat);
}
......
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