summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/accessibility/svxpixelctlaccessiblecontext.cxx')
-rw-r--r--svx/source/accessibility/svxpixelctlaccessiblecontext.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index c97f280eb1c3..181db684e748 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -264,13 +264,13 @@ void SvxPixelCtlAccessible::grabFocus( )
sal_Int32 SvxPixelCtlAccessible::getForeground( )
{
::osl::MutexGuard aGuard( m_aMutex );
- return mrPixelCtl.GetControlForeground().GetColor();
+ return sal_Int32(mrPixelCtl.GetControlForeground());
}
sal_Int32 SvxPixelCtlAccessible::getBackground( )
{
::osl::MutexGuard aGuard( m_aMutex );
- return mrPixelCtl.GetControlBackground().GetColor();
+ return sal_Int32(mrPixelCtl.GetControlBackground());
}
OUString SvxPixelCtlAccessible::getImplementationName( )
@@ -596,14 +596,14 @@ sal_Int32 SvxPixelCtlAccessibleChild::getForeground( )
{
::osl::MutexGuard aGuard( m_aMutex );
ThrowExceptionIfNotAlive();
- return mrParentWindow.GetControlForeground().GetColor();
+ return sal_Int32(mrParentWindow.GetControlForeground());
}
sal_Int32 SvxPixelCtlAccessibleChild::getBackground( )
{
::osl::MutexGuard aGuard( m_aMutex );
ThrowExceptionIfNotAlive();
- return mrParentWindow.GetControlBackground().GetColor();
+ return sal_Int32(mrParentWindow.GetControlBackground());
}
// XAccessibleContext