summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2017-05-14 18:00:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 08:40:46 +0200
commit4582acb3eeb2af0411ab8598ec17d74381225acf (patch)
treeeb2c62fc8ac59c17d6303b73ac5cd2f2ef29d2a8 /starmath
parentb9d75dea30adaa53be58c112f255c9fcd3eea400 (diff)
remove some unnecessary locking
Change-Id: I7da9e82930d3fe8f927c495aeca270b8bb5cf65c Reviewed-on: https://gerrit.libreoffice.org/37602 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/accessibility.cxx1
-rw-r--r--starmath/source/unomodel.cxx1
2 files changed, 0 insertions, 2 deletions
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;
}