summaryrefslogtreecommitdiff
path: root/oox/source/ppt/pptgraphicshapecontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/pptgraphicshapecontext.cxx')
-rw-r--r--oox/source/ppt/pptgraphicshapecontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/pptgraphicshapecontext.cxx b/oox/source/ppt/pptgraphicshapecontext.cxx
index 5c29417140f9..f40e6468ba9c 100644
--- a/oox/source/ppt/pptgraphicshapecontext.cxx
+++ b/oox/source/ppt/pptgraphicshapecontext.cxx
@@ -164,7 +164,7 @@ ContextHandlerRef PPTGraphicShapeContext::onCreateContext( sal_Int32 aElementTok
case XML_pic :
bUseText = false;
}
- mpShapePtr->applyShapeReference( *pPlaceholder.get(), bUseText );
+ mpShapePtr->applyShapeReference( *pPlaceholder, bUseText );
PPTShape* pPPTShape = dynamic_cast< PPTShape* >( pPlaceholder.get() );
if ( pPPTShape )
pPPTShape->setReferenced( true );