Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 45394D809 for ; Thu, 1 Nov 2012 09:36:14 +0000 (UTC) Received: (qmail 31633 invoked by uid 500); 1 Nov 2012 09:36:13 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 31498 invoked by uid 500); 1 Nov 2012 09:36:12 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 31471 invoked by uid 99); 1 Nov 2012 09:36:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 09:36:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 09:36:10 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B6FF32388993; Thu, 1 Nov 2012 09:35:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1404513 - /incubator/ooo/trunk/main/sd/source/filter/eppt/epptso.cxx Date: Thu, 01 Nov 2012 09:35:23 -0000 To: ooo-commits@incubator.apache.org From: alg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121101093523.B6FF32388993@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: alg Date: Thu Nov 1 09:35:23 2012 New Revision: 1404513 URL: http://svn.apache.org/viewvc?rev=1404513&view=rev Log: #119536# removed code no longer needed after fix of that task Modified: incubator/ooo/trunk/main/sd/source/filter/eppt/epptso.cxx Modified: incubator/ooo/trunk/main/sd/source/filter/eppt/epptso.cxx URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/source/filter/eppt/epptso.cxx?rev=1404513&r1=1404512&r2=1404513&view=diff ============================================================================== --- incubator/ooo/trunk/main/sd/source/filter/eppt/epptso.cxx (original) +++ incubator/ooo/trunk/main/sd/source/filter/eppt/epptso.cxx Thu Nov 1 09:35:23 2012 @@ -4861,21 +4861,10 @@ void PPTWriter::ImplWritePage( const PHL 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; - } } } }