diff options
Diffstat (limited to 'accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx index 825689cf3185..6108672088b0 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx @@ -34,6 +34,7 @@ #include <svtools/accessibletableprovider.hxx> #include <tools/multisel.hxx> #include <comphelper/sequence.hxx> +#include <comphelper/servicehelper.hxx> // ============================================================================ @@ -206,13 +207,15 @@ Sequence< uno::Type > SAL_CALL AccessibleBrowseBoxTableBase::getTypes() AccessibleBrowseBoxTableImplHelper::getTypes() ); } +namespace +{ + class theAccessibleBrowseBoxTableBaseImplementationId : public rtl::Static< UnoTunnelIdInit, theAccessibleBrowseBoxTableBaseImplementationId > {}; +} + Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxTableBase::getImplementationId() throw ( uno::RuntimeException ) { - ::osl::MutexGuard aGuard( getOslGlobalMutex() ); - static Sequence< sal_Int8 > aId; - implCreateUuid( aId ); - return aId; + return theAccessibleBrowseBoxTableBaseImplementationId::get().getSeq(); } // internal virtual methods --------------------------------------------------- |