summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-07-09 08:53:58 +0000
committerXisco Fauli <anistenis@gmail.com>2013-03-31 16:22:35 +0200
commitc81f869a023966ffdfde75f743d70875da19e835 (patch)
tree6980d19790a88f2b83c144cedca9ed14514dc0cc /filter
parent6cd346c5e8be9065a5578f2caf3f1eacd964e783 (diff)
#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.cxx11
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 )