diff options
Diffstat (limited to 'reportdesign/source/core/sdr/UndoActions.cxx')
-rw-r--r-- | reportdesign/source/core/sdr/UndoActions.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/core/sdr/UndoActions.cxx b/reportdesign/source/core/sdr/UndoActions.cxx index db4418c4b34c..2c6ea11629b3 100644 --- a/reportdesign/source/core/sdr/UndoActions.cxx +++ b/reportdesign/source/core/sdr/UndoActions.cxx @@ -129,7 +129,7 @@ OUndoContainerAction::~OUndoContainerAction() rEnv.RemoveElement( m_xOwnElement ); #if OSL_DEBUG_LEVEL > 0 - SvxShape* pShape = SvxShape::getImplementation( xChild ); + SvxShape* pShape = comphelper::getUnoTunnelImplementation<SvxShape>( xChild ); SdrObject* pObject = pShape ? pShape->GetSdrObject() : nullptr; OSL_ENSURE( pObject == nullptr || (pShape->HasSdrObjectOwnership() && !pObject->IsInserted()), "OUndoContainerAction::~OUndoContainerAction: inconsistency in the shape/object ownership!" ); |