diff options
Diffstat (limited to 'oox/source/vml/vmlshapecontainer.cxx')
-rw-r--r-- | oox/source/vml/vmlshapecontainer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/vml/vmlshapecontainer.cxx b/oox/source/vml/vmlshapecontainer.cxx index a7fbb785ab20..055365202d5d 100644 --- a/oox/source/vml/vmlshapecontainer.cxx +++ b/oox/source/vml/vmlshapecontainer.cxx @@ -87,7 +87,7 @@ const ShapeType* ShapeContainer::getShapeTypeById( const OUString& rShapeId, boo for( ShapeVector::const_iterator aVIt = maShapes.begin(), aVEnd = maShapes.end(); aVIt != aVEnd; ++aVIt ) if( const ShapeType* pType = (*aVIt)->getChildTypeById( rShapeId ) ) return pType; - return 0; + return nullptr; } const ShapeBase* ShapeContainer::getShapeById( const OUString& rShapeId, bool bDeep ) const @@ -100,7 +100,7 @@ const ShapeBase* ShapeContainer::getShapeById( const OUString& rShapeId, bool bD for( ShapeVector::const_iterator aVIt = maShapes.begin(), aVEnd = maShapes.end(); aVIt != aVEnd; ++aVIt ) if( const ShapeBase* pShape = (*aVIt)->getChildById( rShapeId ) ) return pShape; - return 0; + return nullptr; } std::shared_ptr< ShapeBase > ShapeContainer::takeLastShape() |