summaryrefslogtreecommitdiff
path: root/xmloff/source/core/unoatrcn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/core/unoatrcn.cxx')
-rw-r--r--xmloff/source/core/unoatrcn.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index 1745e73f4bf0..9125e6cfb93c 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -94,11 +94,7 @@ const css::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId()
sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const css::uno::Sequence< sal_Int8 >& rId )
{
- if( comphelper::isUnoTunnelId<SvUnoAttributeContainer>(rId) )
- {
- return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
- }
- return 0;
+ return comphelper::getSomethingImpl(rId, this);
}
// container::XNameAccess