diff options
author | Armin Le Grand <alg@apache.org> | 2012-11-01 08:35:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-12 17:16:53 +0100 |
commit | d959ff60f0f014a03ecbb55b2ab6256d474f5e84 (patch) | |
tree | ded0e2cfd92e9d906b7ef62989aedc44afa2f128 /sd | |
parent | 131486a9ad5d3c66911adeb4608d2d0e1d8dc31b (diff) |
Related: #i119536# removed code no longer needed after fix of that task
(cherry picked from commit bcc6f1762eda8ac5290eb10b4ad47a249c9b5f51)
Conflicts:
sd/source/filter/eppt/epptso.cxx
Change-Id: I42bce7ff99264d3bd1e3e5dbdf8eda87a05361a7
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptso.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx index 30ce35de912a..fa1a46b017a7 100644 --- a/sd/source/filter/eppt/epptso.cxx +++ b/sd/source/filter/eppt/epptso.cxx @@ -2835,21 +2835,10 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a else { ImplCreateShape( ESCHER_ShpInst_PictureFrame, 0xa00, aSolverContainer ); - const Rectangle aOldRect100thmm(aRect100thmm); if ( aPropOpt.CreateGraphicProperties( mXPropSet, OUString( "GraphicURL" ), sal_False, sal_True ) ) { aPropOpt.AddOpt( ESCHER_Prop_LockAgainstGrouping, 0x800080 ); - - if(aOldRect100thmm != aRect100thmm) - { - // #119536# graphic has been adapted (rotated) so that it can be saved without angle, - // adapt local values as needed - maPosition = MapPoint( ::com::sun::star::awt::Point( aRect100thmm.Left(), aRect100thmm.Top() ) ); - maSize = MapSize( ::com::sun::star::awt::Size ( aRect100thmm.GetWidth(), aRect100thmm.GetHeight() ) ); - maRect = Rectangle( Point( maPosition.X, maPosition.Y ), Size( maSize.Width, maSize.Height ) ); - mnAngle = 0; - } } } } |