diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2018-10-21 22:58:42 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-22 10:03:55 +0200 |
commit | 8acf598338f2255f13eb1182f9ecffc730584530 (patch) | |
tree | 200816d53ab776120b3c268e1d5765202dc6279a | |
parent | 8a764bc0df140f72a5d552db6cb6623d02d5c11f (diff) |
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: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/uibase/uiview/viewcoll.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewcoll.cxx b/sw/source/uibase/uiview/viewcoll.cxx index fa322098a6fa..4008af513055 100644 --- a/sw/source/uibase/uiview/viewcoll.cxx +++ b/sw/source/uibase/uiview/viewcoll.cxx @@ -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() ) |