filter/source/msfilter/msdffimp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit be1474f51aa9a38b80f853b569493b20c01e6078 Author: Caolán McNamara <[email protected]> AuthorDate: Fri Jan 3 19:31:55 2020 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Sat Jan 4 16:58:49 2020 +0100 ofz#19790 Invalid-enum-value Change-Id: Ifca6b26b39d873f67d6161d19354be4bd6462953 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86200 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 0fd58f5e1e5d..9fc3a35764c3 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -2674,7 +2674,7 @@ void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObj } if ( IsProperty( DFF_Prop_shadowType ) ) { - MSO_ShadowType eShadowType = static_cast< MSO_ShadowType >( GetPropertyValue( DFF_Prop_shadowType, 0 ) ); + auto eShadowType = GetPropertyValue(DFF_Prop_shadowType, 0); if( eShadowType != mso_shadowOffset && !bNonZeroShadowOffset ) { //0.12" == 173 twip == 302 100mm _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
