Kaydet (Commit) 8acf5983 authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Caolán McNamara

tdf#120703 (PVS): Recurring check.

V571 The 'pArgs' condition was already verified in line 47.

Change-Id: Id63eb556610ec457864e44b7d3f49e46f133e5a9
Reviewed-on: https://gerrit.libreoffice.org/62162
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 8a764bc0
......@@ -46,8 +46,7 @@ void SwView::ExecColl(SfxRequest const &rReq)
{
if( pArgs )
{
if (pArgs &&
SfxItemState::SET == pArgs->GetItemState( nWhich , true, &pItem ))
if (SfxItemState::SET == pArgs->GetItemState( nWhich , true, &pItem ))
{
if( static_cast<const SfxStringItem*>(pItem)->GetValue() !=
GetWrtShell().GetCurPageStyle() )
......
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