summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/wsfrm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/wsfrm.cxx')
-rw-r--r--sw/source/core/layout/wsfrm.cxx3
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();
}