summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-11 16:34:35 +0000
committerMichael Stahl <mstahl@redhat.com>2014-11-11 17:26:17 +0000
commit08243fbab68e503241d158525f88c051bffb189e (patch)
tree49df6f4bbe346d4ea79b9bd9929fa27a56cb0fa2 /sw
parent2018bd1505392f1a9ba236eceed3e67a584266bf (diff)
coverity#1242754 Unused value
Change-Id: I5e3d39b8f87e1496550c616928eab9166f624387 Reviewed-on: https://gerrit.libreoffice.org/12364 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/frmform.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index 98d6079cfbc1..24a66c8d34d3 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -1370,8 +1370,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
rLine.TruncLines();
// Play it safe
- bBreak = aFrmBreak.IsBreakNowWidAndOrp(rLine) &&
- ( !pPara->IsPrepMustFit() || rLine.GetLineNr() > 1 );
+ aFrmBreak.IsBreakNowWidAndOrp(rLine);
}
/* Meaning if the following flags are set: