coverity#735765 Unchecked dynamic_cast
Change-Id: I4a1bf64267d36ff4b3b7cf0ba2cc23c52ec2d36e
This commit is contained in:
parent
9d2977d0a3
commit
164c89b5f4
@ -305,6 +305,8 @@ void SlidePersist::hideShapesAsMasterShapes()
|
||||
std::vector< oox::drawingml::ShapePtr >::iterator aChildIter( rChildren.begin() );
|
||||
while( aChildIter != rChildren.end() ) {
|
||||
PPTShape* pPPTShape = dynamic_cast< PPTShape* >( (*aChildIter++).get() );
|
||||
if (!pPPTShape)
|
||||
continue;
|
||||
OSL_TRACE("hide shape with id: %s", OUStringToOString(pPPTShape->getId(), RTL_TEXTENCODING_UTF8 ).getStr());
|
||||
pPPTShape->setHiddenMasterShape( true );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user