diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accimplaccess.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx index 9371384c1efc..96fdbd96f381 100644 --- a/comphelper/source/misc/accimplaccess.cxx +++ b/comphelper/source/misc/accimplaccess.cxx @@ -63,13 +63,11 @@ namespace comphelper return m_pImpl->m_nForeignControlledStates; } - namespace { struct lcl_ImplId : public rtl::Static< ::cppu::OImplementationId, lcl_ImplId > {}; } - - const Sequence< sal_Int8 > OAccessibleImplementationAccess::getUnoTunnelImplementationId() { - ::cppu::OImplementationId &rID = lcl_ImplId::get(); - return rID.getImplementationId(); + static cppu::OImplementationId implID; + + return implID.getImplementationId(); } |