diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-10-09 09:35:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-10-09 12:34:30 +0200 |
commit | ffeb99b7c37cff3c446a8ae2cf745b121c9b5ce6 (patch) | |
tree | e75db79b2d9c333bd24e778f2c00073c4f3bedad /filter | |
parent | 6f827c2f927bb7e3d75b9e8b00be09299494db7f (diff) |
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@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |