[Libreoffice-commits] core.git: sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Oct 21 18:13:07 UTC 2018
sw/source/filter/ww8/ww8par6.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit e9d1d8a129a86cb67814007b3b2b614e42d66638
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Oct 20 20:25:39 2018 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Oct 21 20:12:58 2018 +0200
pvs-studio: condition always false
Change-Id: I7dcb927028c89f06545fe92c75cb5660767a4817
Reviewed-on: https://gerrit.libreoffice.org/62106
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list