diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-03 19:31:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-04 16:58:49 +0100 |
commit | be1474f51aa9a38b80f853b569493b20c01e6078 (patch) | |
tree | c1d6d41e13c3dc4b0c3128ca8e2739b026dd0a2e /filter | |
parent | f84b33275f6cce21e93e5dd20f3de5df84df0276 (diff) |
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 <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 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 |