ooxml10: apply oox-pptx-import-fix-placeholder-text-style-1.diff from ooo-build
This commit is contained in:
parent
9ca20d4fcf
commit
9957ebbc6f
1 changed files with 4 additions and 1 deletions
|
@ -173,9 +173,12 @@ void PPTShape::addShape(
|
|||
if( mnSubType && getIndex() && rSlidePersist.getMasterPersist().get() ) {
|
||||
oox::drawingml::ShapePtr pPlaceholder = PPTShape::findPlaceholderByIndex( getIndex(), rSlidePersist.getMasterPersist()->getShapes()->getChildren() );
|
||||
if( pPlaceholder.get() && pPlaceholder->getTextBody() ) {
|
||||
TextListStylePtr pNewTextListStyle (new TextListStyle());
|
||||
TextListStylePtr pNewTextListStyle ( new TextListStyle() );
|
||||
|
||||
pNewTextListStyle->apply( pPlaceholder->getTextBody()->getTextListStyle() );
|
||||
if( pPlaceholder->getMasterTextListStyle().get() )
|
||||
pNewTextListStyle->apply( *pPlaceholder->getMasterTextListStyle() );
|
||||
|
||||
aMasterTextListStyle = pNewTextListStyle;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue