summaryrefslogtreecommitdiffstats
path: root/accessibility/source/extended/AccessibleGridControlHeader.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-10-14 08:35:22 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-10-25 19:55:29 -0500
commit08f2eafe269db659cfa67095954ebdf99168f519 (patch)
tree1cd1cbc46010e79dd106bc6071e2e28eec6d7171 /accessibility/source/extended/AccessibleGridControlHeader.cxx
parentuse SolarMutexGuard to guard the SolarMutex (diff)
downloadcore-08f2eafe269db659cfa67095954ebdf99168f519.tar.gz
core-08f2eafe269db659cfa67095954ebdf99168f519.zip
replace the now superfluous TCSolarGuard with SolarMutexGuard
TCSolarGuard is a class that basically wrapped a Guard around Application::GetSolarMutex() This function is now provided directly by the SolarMutexGuard class.
Diffstat (limited to 'accessibility/source/extended/AccessibleGridControlHeader.cxx')
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeader.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlHeader.cxx b/accessibility/source/extended/AccessibleGridControlHeader.cxx
index c9db53a0fe67..464d5842163d 100644
--- a/accessibility/source/extended/AccessibleGridControlHeader.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeader.cxx
@@ -79,7 +79,7 @@ Reference< XAccessible > SAL_CALL
AccessibleGridControlHeader::getAccessibleChild( sal_Int32 nChildIndex )
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
{
- TCSolarGuard aSolarGuard;
+ SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
if (nChildIndex<0 || nChildIndex>=getAccessibleChildCount())
@@ -115,7 +115,7 @@ Reference< XAccessible > SAL_CALL
AccessibleGridControlHeader::getAccessibleAtPoint( const awt::Point& rPoint )
throw ( uno::RuntimeException )
{
- TCSolarGuard aSolarGuard;
+ SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
ensureIsAlive();
@@ -147,7 +147,7 @@ Any SAL_CALL AccessibleGridControlHeader::getAccessibleKeyBinding()
OUString SAL_CALL AccessibleGridControlHeader::getAccessibleRowDescription( sal_Int32 nRow )
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
{
- TCSolarGuard aSolarGuard;
+ SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
ensureIsAlive();
ensureIsValidRow( nRow );
@@ -157,7 +157,7 @@ OUString SAL_CALL AccessibleGridControlHeader::getAccessibleRowDescription( sal_
OUString SAL_CALL AccessibleGridControlHeader::getAccessibleColumnDescription( sal_Int32 nColumn )
throw ( lang::IndexOutOfBoundsException, uno::RuntimeException )
{
- TCSolarGuard aSolarGuard;
+ SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getOslMutex() );
ensureIsAlive();
ensureIsValidColumn( nColumn );