summaryrefslogtreecommitdiff
path: root/starmath/source/accessibility.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-19 15:34:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-20 08:03:27 +0200
commitf2c02331a7dc0a924bbf30cbc279e92621e89590 (patch)
treed92115757b20ff0da9a85ab6ff420784d89bce11 /starmath/source/accessibility.cxx
parent66d8951df3c11ead0b9415eb292c3ae88689edf1 (diff)
new loplugin:unnecessary locking
off by default, since each warning needs careful inspection Change-Id: I805c1d1cdde531a1afdc76e87b22f879fc3c9753 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134641 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source/accessibility.cxx')
-rw-r--r--starmath/source/accessibility.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index c2ae7bb41e1a..25fd9532c758 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -321,9 +321,7 @@ OUString SAL_CALL SmGraphicAccessible::getAccessibleName()
Reference< XAccessibleRelationSet > SAL_CALL SmGraphicAccessible::getAccessibleRelationSet()
{
- SolarMutexGuard aGuard;
- Reference< XAccessibleRelationSet > xRelSet = new utl::AccessibleRelationSetHelper();
- return xRelSet; // empty relation set
+ return new utl::AccessibleRelationSetHelper(); // empty relation set
}
Reference< XAccessibleStateSet > SAL_CALL SmGraphicAccessible::getAccessibleStateSet()