summaryrefslogtreecommitdiff
path: root/sw
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 /sw
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 'sw')
-rw-r--r--sw/source/core/access/accnotextframe.cxx4
-rw-r--r--sw/source/core/unocore/unoflatpara.cxx1
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx2
3 files changed, 0 insertions, 7 deletions
diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx
index d6611198e2ec..4163fc1db223 100644
--- a/sw/source/core/access/accnotextframe.cxx
+++ b/sw/source/core/access/accnotextframe.cxx
@@ -342,16 +342,12 @@ uno::Reference< XAccessibleHyperlink > SAL_CALL
sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getHyperLinkIndex( sal_Int32 )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
-
return 0;
}
uno::Reference<XAccessibleRelationSet> SAL_CALL SwAccessibleNoTextFrame::getAccessibleRelationSet( )
throw ( uno::RuntimeException, std::exception )
{
- SolarMutexGuard aGuard;
-
return new AccessibleRelationSetHelper();
}
diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx
index 4f8e0daa61f7..3f1a5b3950d0 100644
--- a/sw/source/core/unocore/unoflatpara.cxx
+++ b/sw/source/core/unocore/unoflatpara.cxx
@@ -316,7 +316,6 @@ void SAL_CALL SwXFlatParagraph::changeAttributes(::sal_Int32 nPos, ::sal_Int32 n
// text::XFlatParagraph:
css::uno::Sequence< ::sal_Int32 > SAL_CALL SwXFlatParagraph::getLanguagePortions() throw (css::uno::RuntimeException, std::exception)
{
- SolarMutexGuard aGuard;
return css::uno::Sequence< ::sal_Int32>();
}
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index a1ff9557a078..63cdd44f8306 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -889,14 +889,12 @@ bool SwXTextViewCursor::IsTextSelection( bool bAllowTables ) const
sal_Bool SwXTextViewCursor::isVisible() throw( uno::RuntimeException, std::exception )
{
- SolarMutexGuard aGuard;
OSL_FAIL("not implemented");
return true;
}
void SwXTextViewCursor::setVisible(sal_Bool /*bVisible*/) throw( uno::RuntimeException, std::exception )
{
- SolarMutexGuard aGuard;
OSL_FAIL("not implemented");
}