Kaydet (Commit) c5abfa5f authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704706 Unchecked dynamic_cast

Change-Id: I74bced4ccbe2e801fe7a3ef8e2fe0c5c39d2a4fa
üst a7807068
......@@ -787,7 +787,7 @@ void ScConflictsDlg::UpdateView()
// only display own top content entries
if ( pAction->GetType() == SC_CAT_CONTENT )
{
ScChangeActionContent* pNextContent = ( dynamic_cast< ScChangeActionContent* >( pAction ) )->GetNextContent();
ScChangeActionContent* pNextContent = ( dynamic_cast<ScChangeActionContent&>(*pAction) ).GetNextContent();
if ( pNextContent && aItr->HasOwnAction( pNextContent->GetActionNumber() ) )
{
continue;
......
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