View | Details | Raw Unified | Return to issue 119634
Collapse All | Expand All

(-)filter/source/msfilter/msdffimp.cxx (+5 lines)
Lines 2674-2679 Link Here
2674
	}
2674
	}
2675
	if ( IsProperty( DFF_Prop_shadowColor ) )
2675
	if ( IsProperty( DFF_Prop_shadowColor ) )
2676
		rSet.Put( SdrShadowColorItem( String(), rManager.MSO_CLR_ToColor( GetPropertyValue( DFF_Prop_shadowColor ), DFF_Prop_shadowColor ) ) );
2676
		rSet.Put( SdrShadowColorItem( String(), rManager.MSO_CLR_ToColor( GetPropertyValue( DFF_Prop_shadowColor ), DFF_Prop_shadowColor ) ) );
2677
	else
2678
	{
2679
		//The default value for this property is 0x00808080
2680
		rSet.Put( SdrShadowColorItem( String(),  rManager.MSO_CLR_ToColor( 0x00808080, DFF_Prop_shadowColor ) ) );
2681
	}
2677
	if ( IsProperty( DFF_Prop_shadowOpacity ) )
2682
	if ( IsProperty( DFF_Prop_shadowOpacity ) )
2678
        rSet.Put( SdrShadowTransparenceItem( (sal_uInt16)( ( 0x10000 - GetPropertyValue( DFF_Prop_shadowOpacity ) ) / 655 ) ) );
2683
        rSet.Put( SdrShadowTransparenceItem( (sal_uInt16)( ( 0x10000 - GetPropertyValue( DFF_Prop_shadowOpacity ) ) / 655 ) ) );
2679
	if ( IsProperty( DFF_Prop_shadowOffsetX ) )
2684
	if ( IsProperty( DFF_Prop_shadowOffsetX ) )

Return to issue 119634