[Libreoffice-commits] core.git: filter/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jun 30 08:33:42 UTC 2020
filter/source/msfilter/svdfppt.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c99375b5b4f83895507ea2a44eceafeed800c2aa
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jun 29 09:46:27 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jun 30 10:33:03 2020 +0200
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 at redhat.com>
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 )
More information about the Libreoffice-commits
mailing list