Kaydet (Commit) 160d8ff3 authored tarafından Andre Fischer's avatar Andre Fischer

#i119887# Fixing import of shadow direction.

Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
üst fb1446f7
...@@ -2723,15 +2723,13 @@ void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObj ...@@ -2723,15 +2723,13 @@ 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