summaryrefslogtreecommitdiff
path: root/unotools/source/accessibility/accessiblerelationsethelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/accessibility/accessiblerelationsethelper.cxx')
-rw-r--r--unotools/source/accessibility/accessiblerelationsethelper.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx
index f50d641e87ea..0e2a57773bb1 100644
--- a/unotools/source/accessibility/accessiblerelationsethelper.cxx
+++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx
@@ -210,12 +210,11 @@ void AccessibleRelationSetHelper::AddRelation(const AccessibleRelation& rRelatio
uno::Sequence< css::uno::Type> AccessibleRelationSetHelper::getTypes()
{
- osl::MutexGuard aGuard (maMutex);
- css::uno::Sequence< css::uno::Type> aTypeSequence {
+ static const uno::Sequence< css::uno::Type> aTypes {
cppu::UnoType<XAccessibleRelationSet>::get(),
cppu::UnoType<lang::XTypeProvider>::get()
};
- return aTypeSequence;
+ return aTypes;
}
uno::Sequence<sal_Int8> SAL_CALL AccessibleRelationSetHelper::getImplementationId()