Kaydet (Commit) c789d126 authored tarafından Andre Fischer's avatar Andre Fischer Kaydeden (comit) Xisco Fauli

#i119887# Fixing import of shadow direction.

Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
üst cf4260b8
...@@ -2604,14 +2604,12 @@ void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObj ...@@ -2604,14 +2604,12 @@ void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObj
{ {
sal_Int32 nVal = static_cast< sal_Int32 >( GetPropertyValue( DFF_Prop_shadowOffsetX ) ); sal_Int32 nVal = static_cast< sal_Int32 >( GetPropertyValue( DFF_Prop_shadowOffsetX ) );
rManager.ScaleEmu( nVal ); rManager.ScaleEmu( nVal );
if ( nVal )
rSet.Put( SdrShadowXDistItem( nVal ) ); rSet.Put( SdrShadowXDistItem( nVal ) );
} }
if ( IsProperty( DFF_Prop_shadowOffsetY ) ) if ( IsProperty( DFF_Prop_shadowOffsetY ) )
{ {
sal_Int32 nVal = static_cast< sal_Int32 >( GetPropertyValue( DFF_Prop_shadowOffsetY ) ); sal_Int32 nVal = static_cast< sal_Int32 >( GetPropertyValue( DFF_Prop_shadowOffsetY ) );
rManager.ScaleEmu( nVal ); rManager.ScaleEmu( nVal );
if ( nVal )
rSet.Put( SdrShadowYDistItem( nVal ) ); rSet.Put( SdrShadowYDistItem( nVal ) );
} }
if ( IsProperty( DFF_Prop_fshadowObscured ) ) if ( IsProperty( DFF_Prop_fshadowObscured ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment