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,15 +2604,13 @@ void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet, DffObj
{
sal_Int32 nVal = static_cast< sal_Int32 >( GetPropertyValue( DFF_Prop_shadowOffsetX ) );
rManager.ScaleEmu( nVal );
if ( nVal )
rSet.Put( SdrShadowXDistItem( nVal ) );
rSet.Put( SdrShadowXDistItem( nVal ) );
}
if ( IsProperty( DFF_Prop_shadowOffsetY ) )
{
sal_Int32 nVal = static_cast< sal_Int32 >( GetPropertyValue( DFF_Prop_shadowOffsetY ) );
rManager.ScaleEmu( nVal );
if ( nVal )
rSet.Put( SdrShadowYDistItem( nVal ) );
rSet.Put( SdrShadowYDistItem( nVal ) );
}
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