summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility/AccessibleTreeNode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/accessibility/AccessibleTreeNode.cxx')
-rw-r--r--sd/source/ui/accessibility/AccessibleTreeNode.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/accessibility/AccessibleTreeNode.cxx b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
index 7847cd726..fb62178e6 100644
--- a/sd/source/ui/accessibility/AccessibleTreeNode.cxx
+++ b/sd/source/ui/accessibility/AccessibleTreeNode.cxx
@@ -182,7 +182,7 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleChildCount (void)
throw (RuntimeException)
{
ThrowIfDisposed();
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
return mrTreeNode.GetControlContainer().GetControlCount();
}
@@ -194,7 +194,7 @@ Reference<XAccessible > SAL_CALL
throw (lang::IndexOutOfBoundsException, RuntimeException)
{
ThrowIfDisposed();
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
if (nIndex<0 || (sal_uInt32)nIndex>=mrTreeNode.GetControlContainer().GetControlCount())
throw lang::IndexOutOfBoundsException();
@@ -215,7 +215,7 @@ Reference<XAccessible > SAL_CALL AccessibleTreeNode::getAccessibleParent (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
return mxParent;
}
@@ -227,7 +227,7 @@ sal_Int32 SAL_CALL AccessibleTreeNode::getAccessibleIndexInParent (void)
{
OSL_ASSERT(getAccessibleParent().is());
ThrowIfDisposed();
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
sal_Int32 nIndexInParent(-1);
@@ -296,7 +296,7 @@ Reference<XAccessibleStateSet > SAL_CALL
throw (uno::RuntimeException)
{
ThrowIfDisposed();
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
return mrStateSet.get();
}
@@ -440,7 +440,7 @@ Reference<XAccessible> SAL_CALL
{
ThrowIfDisposed();
Reference<XAccessible> xChildAtPoint;
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
sal_Int32 nChildCount = getAccessibleChildCount();
for (sal_Int32 nIndex=0; nIndex<nChildCount; ++nIndex)
@@ -524,7 +524,7 @@ awt::Point SAL_CALL AccessibleTreeNode::getLocationOnScreen()
throw (uno::RuntimeException)
{
ThrowIfDisposed();
- const vos::OGuard aSolarGuard( Application::GetSolarMutex() );
+ const SolarMutexGuard aSolarGuard;
awt::Point aLocationOnScreen;
::Window* pWindow = mrTreeNode.GetWindow();
@@ -556,7 +556,7 @@ void SAL_CALL AccessibleTreeNode::grabFocus (void)
throw (uno::RuntimeException)
{
ThrowIfDisposed();
- const vos::OGuard aSolarGuard (Application::GetSolarMutex());
+ const SolarMutexGuard aSolarGuard;
if (mrTreeNode.GetWindow() != NULL)
mrTreeNode.GetWindow()->GrabFocus();