[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 9 12:06:57 UTC 2020
lotuswordpro/source/filter/lwpparaborderoverride.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1064ff57880dc6d35deb4ddc9aa83d2a5273aa4a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 9 09:45:45 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 9 14:06:22 2020 +0200
ofz: Invalid-enum-value
extend
commit 9d1c8e66f7020fa0150b23bd450e514f848bd20b
Date: Tue Apr 5 12:35:54 2016 +0200
UBSan: Restrict BorderWidthType values to valid range on input
to the other assignment to m_eRightType
Change-Id: I712a16974e25d3cc48ecfc223a84264ef4bf1642
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104107
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/lotuswordpro/source/filter/lwpparaborderoverride.cxx b/lotuswordpro/source/filter/lwpparaborderoverride.cxx
index 4d372ae5b763..c0919cd7a265 100644
--- a/lotuswordpro/source/filter/lwpparaborderoverride.cxx
+++ b/lotuswordpro/source/filter/lwpparaborderoverride.cxx
@@ -152,7 +152,7 @@ void LwpParaBorderOverride::Read(LwpObjectStream *pStrm)
if( pStrm->CheckExtra() )
{
- m_eRightType = static_cast<BorderWidthType>(pStrm->QuickReaduInt16());
+ m_eRightType = readBorderWidthType(pStrm);
m_nRightWidth = pStrm->QuickReaduInt32();
}
}
More information about the Libreoffice-commits
mailing list