Kaydet (Commit) 37441c60 authored tarafından Muthu Subramanian's avatar Muthu Subramanian

fdo#68594: Revert bnc#758621 commit.

Reverting: 55c63ccf
Seems some other fix, fixes the bug as well.
üst a9da5f78
...@@ -2291,14 +2291,6 @@ SdrObject* SdrPowerPointImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* ...@@ -2291,14 +2291,6 @@ SdrObject* SdrPowerPointImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj*
} }
pPortion->ApplyTo( aPortionAttribs, (SdrPowerPointImport&)*this, nDestinationInstance, pTextObj ); pPortion->ApplyTo( aPortionAttribs, (SdrPowerPointImport&)*this, nDestinationInstance, pTextObj );
rOutliner.QuickSetAttribs( aPortionAttribs, aSelection ); rOutliner.QuickSetAttribs( aPortionAttribs, aSelection );
// set the attribs for the entire paragraph, if it is a placeholder
if ( pTextObj->GetOEPlaceHolderAtom() && aSelection.nStartPos == aSelection.nEndPos )
{
SfxItemSet& rItemSet = rOutliner.GetStyleSheet( nParaIndex )->GetItemSet();
pPortion->ApplyTo( rItemSet, (SdrPowerPointImport&)*this, nDestinationInstance, pTextObj );
}
aSelection.nStartPos = aSelection.nEndPos; aSelection.nStartPos = aSelection.nEndPos;
} }
boost::optional< sal_Int16 > oStartNumbering; boost::optional< sal_Int16 > oStartNumbering;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment