summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-03 19:31:55 +0000
committerAndras Timar <andras.timar@collabora.com>2021-01-12 11:13:35 +0100
commitc64211c993551b5878560e60b6768c2ee0dc2015 (patch)
treefd8e72688cabfb210149ff606395aa842af0664f /filter
parent798962197a85ad910502eca8f834c04da6c40d15 (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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 2ad21b4b8477..56716e215b9d 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -2690,7 +2690,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