oox/source/ppt/pptshape.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1339fa3fbe0d25cb08c438a6915ced41d3414294 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Sat Apr 19 17:18:28 2014 +0200 coverity#735764 Unchecked dynamic_cast Change-Id: Ic7dc70c1052f5ab04a3e1795549ca43e2e0f2587 diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx index 11b25ee..953e2b8 100644 --- a/oox/source/ppt/pptshape.cxx +++ b/oox/source/ppt/pptshape.cxx @@ -279,7 +279,7 @@ void PPTShape::addShape( // SAL_INFO("oox.ppt","combined master text list style"); // aMasterTextListStyle->dump(); } - if( pPPTPlaceholder->mpPlaceholder.get() ) { + if( pPPTPlaceholder && pPPTPlaceholder->mpPlaceholder.get() ) { SAL_INFO("oox.ppt","placeholder has parent placeholder: " << pPPTPlaceholder->mpPlaceholder->getId() << " type: " << lclDebugSubType( pPPTPlaceholder->mpPlaceholder->getSubType() ) << " index: " << pPPTPlaceholder->mpPlaceholder->getSubTypeIndex().get() ); SAL_INFO("oox.ppt","has textbody " << (pPPTPlaceholder->mpPlaceholder->getTextBody() != 0) ); TextListStylePtr pPlaceholderStyle = getSubTypeTextListStyle( rSlidePersist, pPPTPlaceholder->mpPlaceholder->getSubType() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits