diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-13 01:41:46 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-25 17:54:58 -0500 |
commit | defa3490b432f331b0f27a9ab14795f476cd3990 (patch) | |
tree | cb6bbcb7c11b985cdc1f27b446613acdfeaaccd5 /chart2/source/controller/accessibility | |
parent | 372eeaa6f8b5b383537f7d76aae6f042a0878090 (diff) |
use SolarMutexGuard to guard the SolarMutex
Diffstat (limited to 'chart2/source/controller/accessibility')
5 files changed, 8 insertions, 8 deletions
diff --git a/chart2/source/controller/accessibility/AccStatisticsObject.cxx b/chart2/source/controller/accessibility/AccStatisticsObject.cxx index a248266874fc..62fbc83e39d7 100644 --- a/chart2/source/controller/accessibility/AccStatisticsObject.cxx +++ b/chart2/source/controller/accessibility/AccStatisticsObject.cxx @@ -47,7 +47,7 @@ AccStatisticsObject::AccStatisticsObject( const AccessibleElementInfo& rAccInfo // OSL_ASSERT( pModel ); // /-- solar - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; /* switch( eType ) { case MEAN_VAL_LINE: diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx index fa09ec3ca0d0..2e70b49375ac 100644 --- a/chart2/source/controller/accessibility/AccessibleBase.cxx +++ b/chart2/source/controller/accessibility/AccessibleBase.cxx @@ -769,7 +769,7 @@ awt::Rectangle SAL_CALL AccessibleBase::getBounds() aLogicRect.X + aLogicRect.Width, aLogicRect.Y + aLogicRect.Height ); // /-- solar - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; aRect = pWindow->LogicToPixel( aRect ); // aLogicRect ist relative to the page, but we need a value relative diff --git a/chart2/source/controller/accessibility/AccessibleChartElement.cxx b/chart2/source/controller/accessibility/AccessibleChartElement.cxx index 99e6fd60e83d..9cd456ea6a05 100644 --- a/chart2/source/controller/accessibility/AccessibleChartElement.cxx +++ b/chart2/source/controller/accessibility/AccessibleChartElement.cxx @@ -133,7 +133,7 @@ void AccessibleChartElement::InitTextEdit() // OSL_ASSERT( m_pTextHelper == 0 ); // // /-- solar -// ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); +// SolarMutexGuard aSolarGuard; // Window* pWindow( VCLUnoHelper::GetWindow( GetInfo().m_xWindow )); // if( pWindow ) // { @@ -172,7 +172,7 @@ Reference< XAccessible > AccessibleChartElement::ImplGetAccessibleChildById( sal { xResult.set( m_xTextHelper->getAccessibleChild( i )); // /-- solar -// ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); +// SolarMutexGuard aSolarGuard; // if( m_pTextHelper ) // xResult.set( m_pTextHelper->GetChild( i ) ); // \-- solar diff --git a/chart2/source/controller/accessibility/AccessibleChartView.cxx b/chart2/source/controller/accessibility/AccessibleChartView.cxx index 9fae22226cb5..40f3c0457048 100644 --- a/chart2/source/controller/accessibility/AccessibleChartView.cxx +++ b/chart2/source/controller/accessibility/AccessibleChartView.cxx @@ -102,7 +102,7 @@ awt::Rectangle AccessibleChartView::GetWindowPosSize() const if( pWindow ) { // /-- solar - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; Point aVCLPoint( pWindow->OutputToAbsoluteScreenPixel( Point( 0, 0 ) )); aBBox.X = aVCLPoint.getX(); aBBox.Y = aVCLPoint.getY(); diff --git a/chart2/source/controller/accessibility/AccessibleTextHelper.cxx b/chart2/source/controller/accessibility/AccessibleTextHelper.cxx index 2f3d732a06ae..a16f9cb9dab0 100644 --- a/chart2/source/controller/accessibility/AccessibleTextHelper.cxx +++ b/chart2/source/controller/accessibility/AccessibleTextHelper.cxx @@ -87,7 +87,7 @@ void SAL_CALL AccessibleTextHelper::initialize( const Sequence< uno::Any >& aArg return; // /-- solar - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; if( m_pTextHelper ) delete m_pTextHelper; @@ -121,7 +121,7 @@ void SAL_CALL AccessibleTextHelper::initialize( const Sequence< uno::Any >& aArg if( m_pTextHelper ) { // /-- solar - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; return m_pTextHelper->GetChildCount(); // \-- solar } @@ -135,7 +135,7 @@ Reference< XAccessible > SAL_CALL AccessibleTextHelper::getAccessibleChild( ::sa if( m_pTextHelper ) { // /-- solar - ::vos::OGuard aSolarGuard( Application::GetSolarMutex() ); + SolarMutexGuard aSolarGuard; return m_pTextHelper->GetChild( i ); // \-- solar } |