incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1365930 - /incubator/ooo/trunk/main/sd/source/filter/ppt/pptin.cxx
Date Thu, 26 Jul 2012 10:00:24 GMT
Author: af
Date: Thu Jul 26 10:00:24 2012
New Revision: 1365930

URL: http://svn.apache.org/viewvc?rev=1365930&view=rev
Log:
#i119874# Missing part of patch.

          Patch by: Jianyuan Li

Modified:
    incubator/ooo/trunk/main/sd/source/filter/ppt/pptin.cxx

Modified: incubator/ooo/trunk/main/sd/source/filter/ppt/pptin.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/source/filter/ppt/pptin.cxx?rev=1365930&r1=1365929&r2=1365930&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sd/source/filter/ppt/pptin.cxx (original)
+++ incubator/ooo/trunk/main/sd/source/filter/ppt/pptin.cxx Thu Jul 26 10:00:24 2012
@@ -2450,9 +2450,11 @@ SdrObject* ImplSdPPTImport::ApplyTextObj
 							SdrObject* pPresObj = pPage->CreatePresObj( ePresObjKind, bVertical, pText->GetLogicRect(),
sal_True );
 							pPresObj->SetUserCall( pPage );
 
-							SfxItemSet aSet( pSdrModel->GetItemPool() );
-							ApplyAttributes( rStCtrl, aSet );
-							pPresObj->SetMergedItemSet(aSet);
+                            SfxItemSet aSet( pSdrModel->GetItemPool() );
+                            ApplyAttributes( rStCtrl, aSet );
+                            pPresObj->SetLogicRect(pText->GetLogicRect());
+                            ApplyTextAnchorAttributes( *pTextObj, aSet );
+                            pPresObj->SetMergedItemSet(aSet);
 
 							if ( ( eAktPageKind != PPT_NOTEPAGE ) && ( pSlideLayout->aPlacementId[
i ] != (sal_uLong)-1 ) )
 							{



Mime
View raw message