summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-06-29 09:46:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-06-30 10:33:03 +0200
commitc99375b5b4f83895507ea2a44eceafeed800c2aa (patch)
tree503c7d5ae3a35952afd17f1ef59ed8178bc07c32 /filter
parent682e0488df819c191c13a03758fad0690706e508 (diff)
ofz#23783 Invalid-enum-value
Change-Id: Ifd641a24dc8db9cb19bb41480c19ed1e3f29c43a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97455 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/svdfppt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 385551be007a..503224c59634 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -5617,9 +5617,9 @@ void PPTPortionObj::ApplyTo( SfxItemSet& rSet, SdrPowerPointImport& rManager, T
if the object has no fillstyle, the font color depends to fillstyle of the background */
{
Color aDefColor( COL_BLACK );
- MSO_FillType eFillType = mso_fillSolid;
+ sal_uInt32 eFillType = mso_fillSolid;
if ( rManager.GetPropertyValue( DFF_Prop_fNoFillHitTest, 0 ) & 0x10 )
- eFillType = static_cast<MSO_FillType>(rManager.GetPropertyValue( DFF_Prop_fillType, mso_fillSolid ));
+ eFillType = rManager.GetPropertyValue(DFF_Prop_fillType, mso_fillSolid);
else
eFillType = mso_fillBackground;
switch( eFillType )