diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-12-11 22:15:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-12 09:16:09 +0000 |
commit | d6f2dd831a37ce214c05ed558c4fef2b76b9b121 (patch) | |
tree | 8e523b0b3d27d126f1dfd526c3879dbfc7273116 /svx | |
parent | 221a3413af1b0f86a78c141fb2ea8fe969911dfb (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 'svx')
-rw-r--r-- | svx/source/accessibility/svxrectctaccessiblecontext.cxx | 2 | ||||
-rw-r--r-- | svx/source/xml/xmleohlp.cxx | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx index 64734aecff9e..4da503193230 100644 --- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx +++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx @@ -945,8 +945,6 @@ Any SAL_CALL SvxRectCtlChildAccessibleContext::getMinimumValue() throw( RuntimeE sal_Int32 SvxRectCtlChildAccessibleContext::getAccessibleActionCount( ) throw (RuntimeException, std::exception) { - ::osl::MutexGuard aGuard( maMutex ); - return 1; } diff --git a/svx/source/xml/xmleohlp.cxx b/svx/source/xml/xmleohlp.cxx index 5db22ceb64a9..432a786f5b56 100644 --- a/svx/source/xml/xmleohlp.cxx +++ b/svx/source/xml/xmleohlp.cxx @@ -713,8 +713,7 @@ Any SAL_CALL SvXMLEmbeddedObjectHelper::getByName( Sequence< OUString > SAL_CALL SvXMLEmbeddedObjectHelper::getElementNames() throw (RuntimeException, std::exception) { - MutexGuard aGuard( maMutex ); - return Sequence< OUString >(0); + return Sequence< OUString >(0); } sal_Bool SAL_CALL SvXMLEmbeddedObjectHelper::hasByName( const OUString& rURLStr ) |