From c81f869a023966ffdfde75f743d70875da19e835 Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Mon, 9 Jul 2012 08:53:58 +0000 Subject: #i119536# Fixed rotation when importing PPT. Reported by: Li Feng Wang Patch by: Ma Bingbing Reviewed by: Arming Le Grand and Andre Fischer --- filter/source/msfilter/escherex.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'filter') 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 ) -- cgit 5-4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/oox/ole/vbacontrol.hxx
AgeCommit message (Expand)Author
2019-10-29loplugin:finalclasses in ooxNoel Grandin
2019-09-02loplugin:constmethod in ooxNoel Grandin
2018-10-15loplugin:constfields in ooxNoel Grandin