From 4582acb3eeb2af0411ab8598ec17d74381225acf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 14 May 2017 18:00:37 +0200 Subject: remove some unnecessary locking Change-Id: I7da9e82930d3fe8f927c495aeca270b8bb5cf65c Reviewed-on: https://gerrit.libreoffice.org/37602 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/source/accessibility.cxx | 1 - starmath/source/unomodel.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'starmath') diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index dad27759cc61..8dceed77def3 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -1595,7 +1595,6 @@ void SmEditAccessible::ClearWin() // XAccessible uno::Reference< XAccessibleContext > SAL_CALL SmEditAccessible::getAccessibleContext( ) { - SolarMutexGuard aGuard; return this; } diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index e08274b82836..54c31dc73ffc 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -902,7 +902,6 @@ sal_Int32 SAL_CALL SmModel::getRendererCount( const uno::Any& /*rSelection*/, const uno::Sequence< beans::PropertyValue >& /*xOptions*/ ) { - SolarMutexGuard aGuard; return 1; } -- cgit v1.2.3