diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accimplaccess.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx index d663a2bd8116..be8065725636 100644 --- a/comphelper/source/misc/accimplaccess.cxx +++ b/comphelper/source/misc/accimplaccess.cxx @@ -19,7 +19,6 @@ #include <comphelper/accimplaccess.hxx> #include <comphelper/servicehelper.hxx> -#include <cppuhelper/typeprovider.hxx> #include <string.h> @@ -48,10 +47,7 @@ namespace comphelper sal_Int64 SAL_CALL OAccessibleImplementationAccess::getSomething( const Sequence< sal_Int8 >& _rIdentifier ) { - if (comphelper::isUnoTunnelId<OAccessibleImplementationAccess>(_rIdentifier)) - return reinterpret_cast<sal_Int64>(this); - - return 0; + return comphelper::getSomethingImpl(_rIdentifier, this); } } // namespace comphelper |