diff options
Diffstat (limited to 'oox/source/ppt/pptshape.cxx')
-rw-r--r-- | oox/source/ppt/pptshape.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx index 92c573b6f5ea..362801b8c438 100644 --- a/oox/source/ppt/pptshape.cxx +++ b/oox/source/ppt/pptshape.cxx @@ -328,7 +328,7 @@ void PPTShape::addShape( { aMasterTextListStyle = isOther ? rSlidePersist.getMasterPersist()->getOtherTextStyle() : rSlidePersist.getMasterPersist()->getDefaultTextStyle(); if (aSlideStyle.get()) - aMasterTextListStyle->apply( *aSlideStyle.get() ); + aMasterTextListStyle->apply( *aSlideStyle ); } else { @@ -339,7 +339,7 @@ void PPTShape::addShape( if( aMasterTextListStyle.get() && getTextBody().get() ) { TextListStylePtr aCombinedTextListStyle (new TextListStyle()); - aCombinedTextListStyle->apply( *aMasterTextListStyle.get() ); + aCombinedTextListStyle->apply( *aMasterTextListStyle ); if( mpPlaceholder.get() && mpPlaceholder->getTextBody().get() ) aCombinedTextListStyle->apply( mpPlaceholder->getTextBody()->getTextListStyle() ); |