summaryrefslogtreecommitdiff
path: root/framework/source/fwi/uielement/rootitemcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwi/uielement/rootitemcontainer.cxx')
-rw-r--r--framework/source/fwi/uielement/rootitemcontainer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx
index 2dacda65fe3b..480c5b23d7b9 100644
--- a/framework/source/fwi/uielement/rootitemcontainer.cxx
+++ b/framework/source/fwi/uielement/rootitemcontainer.cxx
@@ -141,9 +141,7 @@ Reference< XIndexAccess > RootItemContainer::deepCopyContainer( const Reference<
// XUnoTunnel
sal_Int64 RootItemContainer::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier )
{
- if( comphelper::isUnoTunnelId<RootItemContainer>(rIdentifier) )
- return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this ));
- return 0;
+ return comphelper::getSomethingImpl(rIdentifier, this);
}
const Sequence< sal_Int8 >& RootItemContainer::getUnoTunnelId() noexcept