diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-07 09:31:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-07 09:55:05 +0100 |
commit | 977ccf4b0fffc178ad550bda47421db5bc4c82fd (patch) | |
tree | 97a4114435930be2f08b9df9a14091e02f1a07cf /sw/source/core/layout/tabfrm.cxx | |
parent | 57d4cd80dcaf01fe4897d79d89e906d355410243 (diff) |
loplugin:collapseif in sw
Change-Id: I61e32f6ecaf72d51528af4b067d651a17691d4b1
Reviewed-on: https://gerrit.libreoffice.org/62986
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/tabfrm.cxx')
-rw-r--r-- | sw/source/core/layout/tabfrm.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx index 175e7d546f30..59bdea7c35d3 100644 --- a/sw/source/core/layout/tabfrm.cxx +++ b/sw/source/core/layout/tabfrm.cxx @@ -2442,11 +2442,8 @@ void SwTabFrame::MakeAll(vcl::RenderContext* pRenderContext) // #i29771# Two tries to split the table // If an error occurred during splitting. We start a second // try, this time without splitting of table rows. - if ( bSplitError ) - { - if ( HasFollowFlowLine() ) - RemoveFollowFlowLine(); - } + if ( bSplitError && HasFollowFlowLine() ) + RemoveFollowFlowLine(); // If splitting the table was successful or not, // we do not want to have 'empty' follow tables. |