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.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx
index 7af1bf24d72c..8c858cca2ca2 100644
--- a/xmloff/source/core/unoatrcn.cxx
+++ b/xmloff/source/core/unoatrcn.cxx
@@ -99,8 +99,7 @@ const css::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId()
sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const css::uno::Sequence< sal_Int8 >& rId )
{
- if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(),
- rId.getConstArray(), 16 ) )
+ if( isUnoTunnelId<SvUnoAttributeContainer>(rId) )
{
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
}