Kaydet (Commit) 0981f1d8 authored tarafından Mike Kaganski's avatar Mike Kaganski

tdf#120703 PVS: V581

V581 The conditional expressions of the 'if' statements situated alongside
     each other are identical. Check lines: 153, 181.

Change-Id: Ifcec371bc2207bdd3594e514f0eab1d06dd24c84
Reviewed-on: https://gerrit.libreoffice.org/62820
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 726c18db
...@@ -172,10 +172,8 @@ void ScClient::ObjectAreaChanged() ...@@ -172,10 +172,8 @@ void ScClient::ObjectAreaChanged()
// set document modified (SdrModel::SetChanged is not used) // set document modified (SdrModel::SetChanged is not used)
pViewSh->GetViewData().GetDocShell()->SetDrawModified(); pViewSh->GetViewData().GetDocShell()->SetDrawModified();
pViewSh->ScrollToObject(pDrawObj);
} }
if (pDrawObj)
pViewSh->ScrollToObject( pDrawObj );
} }
void ScClient::ViewChanged() void ScClient::ViewChanged()
......
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