[Libreoffice-commits] core.git: filter/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 9 10:35:06 UTC 2020
filter/source/msfilter/msdffimp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ffeb99b7c37cff3c446a8ae2cf745b121c9b5ce6
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 9 09:35:34 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 9 12:34:30 2020 +0200
ofz: Invalid-enum-value
on examining the oss-fuzz stats I see this one as...
"Created: Dec 15, 2019", "Reliably Reproduces: YES", but no bug
auto-filed for it
Change-Id: I1ddd61db2f2317827c00d601d0db513c4511f018
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104105
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 314675319449..a647709367af 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -1047,7 +1047,7 @@ void DffPropertyReader::ApplyLineAttributes( SfxItemSet& rSet, const MSO_SPT eSh
MSO_LineJoin eLineJointDefault = mso_lineJoinMiter;
if ( eShapeType == mso_sptMin )
eLineJointDefault = mso_lineJoinRound;
- MSO_LineJoin eLineJoint = static_cast<MSO_LineJoin>(GetPropertyValue( DFF_Prop_lineJoinStyle, eLineJointDefault ));
+ auto eLineJoint = GetPropertyValue(DFF_Prop_lineJoinStyle, eLineJointDefault);
css::drawing::LineJoint eXLineJoint( css::drawing::LineJoint_MITER );
if ( eLineJoint == mso_lineJoinBevel )
eXLineJoint = css::drawing::LineJoint_BEVEL;
More information about the Libreoffice-commits
mailing list