diff options
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r-- | sw/source/core/layout/tabfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index a81b7f1c198c..288ac0e760c8 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -1360,7 +1360,7 @@ void SwTabFrame::Join() SwTabFrame *pFoll = GetFollow(); - if (!(pFoll && !pFoll->IsJoinLocked())) + if (!pFoll || pFoll->IsJoinLocked()) return; SwRectFnSet aRectFnSet(this); @@ -3747,7 +3747,7 @@ void SwTabFrame::Paste( SwFrame* pParent, SwFrame* pSibling ) // b) The new follower was previously the first in a chain GetNext()->InvalidatePrt_(); - if ( !(pPage && !IsFollow()) ) + if ( !pPage || IsFollow() ) return; if ( pPage->GetUpper() ) |