diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2018-10-20 14:16:04 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-21 18:20:51 +0200 |
commit | 360f389e68a44a8dae896a9ccbdb20b9636a0041 (patch) | |
tree | 40f6c55b737768999b200c4ea56795765e4c5c87 | |
parent | a2a35b3df0858f77db15929fa087f1d712cc22e1 (diff) |
tdf#120703 (PVS): Recurring check.
V571 The 'if (IsTabFrame())' condition was already verified in line 2879.
Change-Id: I738d818207d7303bc914b140c73feeb182194b27
Reviewed-on: https://gerrit.libreoffice.org/62047
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/core/layout/wsfrm.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index c8648be49808..fa8c6be8254c 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -2881,8 +2881,7 @@ SwTwips SwLayoutFrame::ShrinkFrame( SwTwips nDist, bool bTst, bool bInfo ) SetRetouche(); if ( IsTabFrame() ) { - if( IsTabFrame() ) - static_cast<SwTabFrame*>(this)->SetComplete(); + static_cast<SwTabFrame*>(this)->SetComplete(); if ( Lower() ) // Can also be in the Join and be empty! InvalidateNextPos(); } |