diff options
author | Andre Fischer <af@apache.org> | 2012-07-09 08:53:58 +0000 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-03-31 16:22:35 +0200 |
commit | c81f869a023966ffdfde75f743d70875da19e835 (patch) | |
tree | 6980d19790a88f2b83c144cedca9ed14514dc0cc /filter | |
parent | #120573# fix the export issue for the text box in header&footer with the marg... (diff) | |
download | core-c81f869a023966ffdfde75f743d70875da19e835.tar.gz core-c81f869a023966ffdfde75f743d70875da19e835.zip |
#i119536# Fixed rotation when importing PPT.
Reported by: Li Feng Wang
Patch by: Ma Bingbing
Reviewed by: Arming Le Grand and Andre Fischer
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 9c9d7276e180..72095b726b14 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -1450,17 +1450,6 @@ sal_Bool EscherPropertyContainer::CreateGraphicProperties( pGraphicAttr->SetMirrorFlags( BMP_MIRROR_HORZ ); if ( bIsGraphicMtf ) AddOpt( ESCHER_Prop_Rotation, ( ( ((sal_Int32)nAngle << 16 ) / 10 ) + 0x8000 ) &~ 0xffff ); - else - { - pGraphicAttr->SetRotation( nAngle ); - if ( nAngle && pShapeBoundRect ) // up to xp ppoint does not rotate bitmaps ! - { - Polygon aPoly( *pShapeBoundRect ); - aPoly.Rotate( pShapeBoundRect->TopLeft(), nAngle ); - *pShapeBoundRect = aPoly.GetBoundRect(); - bSuppressRotation = sal_True; - } - } } if ( eBitmapMode == ::com::sun::star::drawing::BitmapMode_REPEAT ) |