diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 11:42:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 17:55:01 +0000 |
commit | e8260df1d67baf807771cd5c740164a227856515 (patch) | |
tree | fbf45c4cdede1d4fcb880342e544fa58cb23e3a6 /sw/source/core/text/txttab.cxx | |
parent | 52350c15b37573e160f25d39565f577fc7189955 (diff) |
loplugin:expandablemethodds in sw(part2)
Change-Id: Idc2118899a8063099b66c0f5db40d8402db063d1
Reviewed-on: https://gerrit.libreoffice.org/30083
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/txttab.cxx')
-rw-r--r-- | sw/source/core/text/txttab.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx index 553376d18a0b..a188b3a11f56 100644 --- a/sw/source/core/text/txttab.cxx +++ b/sw/source/core/text/txttab.cxx @@ -384,11 +384,11 @@ bool SwTabPortion::PreFormat( SwTextFormatInfo &rInf ) // tab stop position is outside the frame: bool bAtParaEnd = rInf.GetIdx() + GetLen() == rInf.GetText().getLength(); if ( bFull && bTabCompat && - ( ( bTabOverflow && ( rInf.IsTabOverflow() || !IsAutoTabStop() ) ) || bAtParaEnd ) && + ( ( bTabOverflow && ( rInf.IsTabOverflow() || !bAutoTabStop ) ) || bAtParaEnd ) && GetTabPos() >= rInf.GetTextFrame()->Frame().Width() ) { bFull = false; - if ( bTabOverflow && !IsAutoTabStop() ) + if ( bTabOverflow && !bAutoTabStop ) rInf.SetTabOverflow( true ); } |