summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-11-01 08:35:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-12 17:16:53 +0100
commitd959ff60f0f014a03ecbb55b2ab6256d474f5e84 (patch)
treeded0e2cfd92e9d906b7ef62989aedc44afa2f128 /sd
parentremoved unused variable bSuppressRotation (diff)
downloadcore-d959ff60f0f014a03ecbb55b2ab6256d474f5e84.tar.gz
core-d959ff60f0f014a03ecbb55b2ab6256d474f5e84.zip
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.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 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;
- }
}
}
}