summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-20 20:25:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-10-21 20:12:58 +0200
commite9d1d8a129a86cb67814007b3b2b614e42d66638 (patch)
treee1b6407613fde957fdd36b9064cdf00f55a04cef
parentc4f96bdb57d7d6a1e51bebcf6c1d23e8deed5379 (diff)
pvs-studio: condition always false
Change-Id: I7dcb927028c89f06545fe92c75cb5660767a4817 Reviewed-on: https://gerrit.libreoffice.org/62106 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/filter/ww8/ww8par6.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx
index 145daf9a60e7..3b6468c0dac4 100644
--- a/sw/source/filter/ww8/ww8par6.cxx
+++ b/sw/source/filter/ww8/ww8par6.cxx
@@ -1125,8 +1125,7 @@ void wwSectionManager::CreateSep(const long nTextPos)
aNewSection.maSep.pgbPageDepth = (pgbProp & 0x0018) >> 3;
aNewSection.maSep.pgbOffsetFrom = (pgbProp & 0x00E0) >> 5;
- aNewSection.mnBorders =
- ::lcl_ReadBorders(eVer <= ww::eWW7, aNewSection.brc, nullptr, nullptr, pSep);
+ aNewSection.mnBorders = ::lcl_ReadBorders(false, aNewSection.brc, nullptr, nullptr, pSep);
}
// check if Line Numbering must be activated or reset