summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-11-01 08:35:23 +0000
committerArmin Le Grand <alg@apache.org>2012-11-01 08:35:23 +0000
commitbcc6f1762eda8ac5290eb10b4ad47a249c9b5f51 (patch)
treeb649045d82133d316883274f86ebf3d5069bbb2e
parenta2a4a6aac169fcf32884b3118efaf3336562bb8b (diff)
#119536# removed code no longer needed after fix of that task
Notes
Notes: merged as: d959ff60f0f014a03ecbb55b2ab6256d474f5e84
-rw-r--r--sd/source/filter/eppt/epptso.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index f9507a13f2ee..6e9e9d0267a3 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -4861,21 +4861,10 @@ void PPTWriter::ImplWritePage( const PHLayout& rLayout, EscherSolverContainer& a
else
{
ImplCreateShape( ESCHER_ShpInst_PictureFrame, 0xa00, aSolverContainer );
- const Rectangle aOldRect100thmm(aRect100thmm);
if ( aPropOpt.CreateGraphicProperties( mXPropSet, String( RTL_CONSTASCII_USTRINGPARAM( "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 = ImplMapPoint( ::com::sun::star::awt::Point( aRect100thmm.Left(), aRect100thmm.Top() ) );
- maSize = ImplMapSize( ::com::sun::star::awt::Size ( aRect100thmm.GetWidth(), aRect100thmm.GetHeight() ) );
- maRect = Rectangle( Point( maPosition.X, maPosition.Y ), Size( maSize.Width, maSize.Height ) );
- mnAngle = 0;
- }
}
}
}