summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-12-11 22:15:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 09:16:09 +0000
commitd6f2dd831a37ce214c05ed558c4fef2b76b9b121 (patch)
tree8e523b0b3d27d126f1dfd526c3879dbfc7273116 /starmath
parent221a3413af1b0f86a78c141fb2ea8fe969911dfb (diff)
remove useless Mutex guards
Change-Id: Ib1edb681b47ce98e2e810d15111932002786aa51 Reviewed-on: https://gerrit.libreoffice.org/31875 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/accessibility.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx
index fece32e4c63c..792d3043b3b3 100644
--- a/starmath/source/accessibility.cxx
+++ b/starmath/source/accessibility.cxx
@@ -166,7 +166,6 @@ void SmGraphicAccessible::LaunchEvent(
uno::Reference< XAccessibleContext > SAL_CALL SmGraphicAccessible::getAccessibleContext()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return this;
}
@@ -287,7 +286,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getBackground()
sal_Int32 SAL_CALL SmGraphicAccessible::getAccessibleChildCount()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return 0;
}
@@ -295,7 +293,6 @@ Reference< XAccessible > SAL_CALL SmGraphicAccessible::getAccessibleChild(
sal_Int32 /*i*/ )
throw (IndexOutOfBoundsException, RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
throw IndexOutOfBoundsException(); // there is no child...
}
@@ -330,7 +327,6 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getAccessibleIndexInParent()
sal_Int16 SAL_CALL SmGraphicAccessible::getAccessibleRole()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return AccessibleRole::DOCUMENT;
}
@@ -436,7 +432,6 @@ void SAL_CALL SmGraphicAccessible::removeAccessibleEventListener(
sal_Int32 SAL_CALL SmGraphicAccessible::getCaretPosition()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return 0;
}
@@ -616,21 +611,18 @@ sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint( const awt::Point& aPoin
OUString SAL_CALL SmGraphicAccessible::getSelectedText()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return OUString();
}
sal_Int32 SAL_CALL SmGraphicAccessible::getSelectionStart()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return -1;
}
sal_Int32 SAL_CALL SmGraphicAccessible::getSelectionEnd()
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return -1;
}
@@ -1812,14 +1804,12 @@ sal_Int32 SAL_CALL SmEditAccessible::getAccessibleIndexInParent( )
sal_Int16 SAL_CALL SmEditAccessible::getAccessibleRole( )
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return AccessibleRole::PANEL /*TEXT ?*/;
}
OUString SAL_CALL SmEditAccessible::getAccessibleDescription( )
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return OUString(); // empty as agreed with product-management
}
@@ -1834,7 +1824,6 @@ OUString SAL_CALL SmEditAccessible::getAccessibleName( )
uno::Reference< XAccessibleRelationSet > SAL_CALL SmEditAccessible::getAccessibleRelationSet( )
throw (RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
Reference< XAccessibleRelationSet > xRelSet = new utl::AccessibleRelationSetHelper();
return xRelSet; // empty relation set
}