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 --- basctl/source/accessibility/accessibledialogcontrolshape.cxx | 4 ---- basctl/source/accessibility/accessibledialogwindow.cxx | 2 -- 2 files changed, 6 deletions(-) (limited to 'basctl') diff --git a/basctl/source/accessibility/accessibledialogcontrolshape.cxx b/basctl/source/accessibility/accessibledialogcontrolshape.cxx index afa2a469c3c6..83b25d5cfa9c 100644 --- a/basctl/source/accessibility/accessibledialogcontrolshape.cxx +++ b/basctl/source/accessibility/accessibledialogcontrolshape.cxx @@ -307,16 +307,12 @@ Sequence< OUString > AccessibleDialogControlShape::getSupportedServiceNames() // XAccessible Reference< XAccessibleContext > AccessibleDialogControlShape::getAccessibleContext( ) { - OExternalLockGuard aGuard( this ); - return this; } // XAccessibleContext sal_Int32 AccessibleDialogControlShape::getAccessibleChildCount() { - OExternalLockGuard aGuard( this ); - return 0; } diff --git a/basctl/source/accessibility/accessibledialogwindow.cxx b/basctl/source/accessibility/accessibledialogwindow.cxx index 1bde5e6ef245..f04094088e73 100644 --- a/basctl/source/accessibility/accessibledialogwindow.cxx +++ b/basctl/source/accessibility/accessibledialogwindow.cxx @@ -592,8 +592,6 @@ Sequence< OUString > AccessibleDialogWindow::getSupportedServiceNames() // XAccessible Reference< XAccessibleContext > AccessibleDialogWindow::getAccessibleContext( ) { - OExternalLockGuard aGuard( this ); - return this; } -- cgit