Kaydet (Commit) b409aaa7 authored tarafından Eike Rathke's avatar Eike Rathke

CID#703984 Unchecked return value (CHECKED_RETURN)

Change-Id: I5b0c633e25326272aed3bae0bf0847839a45d723
üst 9d929e56
......@@ -2973,8 +2973,8 @@ void ScChangeTrack::Dependencies( ScChangeAction* pAct )
if ( ScChangeActionContent::GetContentCellType(rCell) == SC_CACCT_MATREF )
{
ScAddress aOrg;
rCell.mpFormula->GetMatrixOrigin(aOrg);
ScChangeActionContent* pContent = SearchContentAt( aOrg, pAct );
bool bOrgFound = rCell.mpFormula->GetMatrixOrigin(aOrg);
ScChangeActionContent* pContent = (bOrgFound ? SearchContentAt( aOrg, pAct ) : NULL);
if ( pContent && pContent->IsMatrixOrigin() )
{
AddDependentWithNotify( pContent, pAct );
......
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