summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/misc/RptUndo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/ui/misc/RptUndo.cxx')
-rw-r--r--reportdesign/source/ui/misc/RptUndo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/misc/RptUndo.cxx b/reportdesign/source/ui/misc/RptUndo.cxx
index 29d3945bedc3..d56171ec53c3 100644
--- a/reportdesign/source/ui/misc/RptUndo.cxx
+++ b/reportdesign/source/ui/misc/RptUndo.cxx
@@ -132,7 +132,7 @@ OSectionUndo::~OSectionUndo()
rEnv.RemoveElement(xShape);
#if OSL_DEBUG_LEVEL > 0
- SvxShape* pShape = comphelper::getUnoTunnelImplementation<SvxShape>( xShape );
+ SvxShape* pShape = comphelper::getFromUnoTunnel<SvxShape>( xShape );
SdrObject* pObject = pShape ? pShape->GetSdrObject() : nullptr;
OSL_ENSURE( pShape && pShape->HasSdrObjectOwnership() && pObject && !pObject->IsInserted(),
"OSectionUndo::~OSectionUndo: inconsistency in the shape/object ownership!" );