diff options
Diffstat (limited to 'svx/source/accessibility/svxrectctaccessiblecontext.cxx')
-rw-r--r-- | svx/source/accessibility/svxrectctaccessiblecontext.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx index 4405b70bcaa8..bc0d4501d60d 100644 --- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx +++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx @@ -398,7 +398,7 @@ sal_Int32 SvxRectCtlAccessibleContext::getForeground( ) ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); - return mpRepr->GetControlForeground().GetColor(); + return sal_Int32(mpRepr->GetControlForeground()); } sal_Int32 SvxRectCtlAccessibleContext::getBackground( ) { @@ -406,7 +406,7 @@ sal_Int32 SvxRectCtlAccessibleContext::getBackground( ) ::osl::MutexGuard aGuard( m_aMutex ); ThrowExceptionIfNotAlive(); - return mpRepr->GetControlBackground().GetColor(); + return sal_Int32(mpRepr->GetControlBackground()); } // XServiceInfo @@ -708,7 +708,7 @@ sal_Int32 SvxRectCtlChildAccessibleContext::getForeground( ) ::SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( maMutex ); ThrowExceptionIfNotAlive(); - return mrParentWindow.GetControlForeground().GetColor(); + return sal_Int32(mrParentWindow.GetControlForeground()); } sal_Int32 SvxRectCtlChildAccessibleContext::getBackground( ) { @@ -716,7 +716,7 @@ sal_Int32 SvxRectCtlChildAccessibleContext::getBackground( ) ::osl::MutexGuard aGuard( maMutex ); ThrowExceptionIfNotAlive(); - return mrParentWindow.GetControlBackground().GetColor(); + return sal_Int32(mrParentWindow.GetControlBackground()); } // XAccessibleContext |