diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index c8f0dd7c2f5a..22b9063c820f 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -376,6 +376,10 @@ Reference< XShape > Shape::createAndInsert( if( xLockable.is() ) xLockable->addActionLock(); + Reference< document::XActionLockable > xLockable( mxShape, UNO_QUERY ); + if( xLockable.is() ) + xLockable->addActionLock(); + // sj: removing default text of placeholder objects such as SlideNumberShape or HeaderShape if ( bClearText ) {