diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-23 21:50:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-23 22:04:49 +0100 |
commit | f54ca31d2900e6592ffc22888d0f2475a75630dc (patch) | |
tree | 22f78835e29855b3bcab6426a758b44c13db1785 /sw | |
parent | 13f80252de289b666b5df126e1ec8a9c99445bac (diff) |
make this more readable
Change-Id: I617e7a120aa14794c7391969b3edd6e3c4f50077
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/sectfrm.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx index 23b547f64ec1..cd0d3002cddc 100644 --- a/sw/source/core/layout/sectfrm.cxx +++ b/sw/source/core/layout/sectfrm.cxx @@ -1763,8 +1763,7 @@ SwLayoutFrame *SwFrame::GetPrevSctLeaf() } { - SwFrame *pPrv; - if( nullptr != ( pPrv = pSect->GetIndPrev() ) ) + if (SwFrame *pPrv = pSect->GetIndPrev()) { // Mooching, half dead SectionFrames shouldn't confuse us while( pPrv && pPrv->IsSctFrame() && !static_cast<SwSectionFrame*>(pPrv)->GetSection() ) |