diff options
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCellBase.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleCsvControl.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleCellBase.cxx b/sc/source/ui/Accessibility/AccessibleCellBase.cxx index 0ab07a04f1e9..b8ca55e48091 100644 --- a/sc/source/ui/Accessibility/AccessibleCellBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleCellBase.cxx @@ -476,10 +476,10 @@ OUString ScAccessibleCellBase::getBorderAttrs() bool bIn = mpDoc && mpDoc->IsCellInChangeTrack(maCellAddress,&aColor); if (bIn) { - aTopBorder.Color = aColor.GetColor(); - aBottomBorder.Color = aColor.GetColor(); - aLeftBorder.Color = aColor.GetColor(); - aRightBorder.Color = aColor.GetColor(); + aTopBorder.Color = sal_Int32(aColor); + aBottomBorder.Color = sal_Int32(aColor); + aLeftBorder.Color = sal_Int32(aColor); + aRightBorder.Color = sal_Int32(aColor); aTopBorder.OuterLineWidth = DEFAULT_LINE_WIDTH; aBottomBorder.OuterLineWidth = DEFAULT_LINE_WIDTH; aLeftBorder.OuterLineWidth = DEFAULT_LINE_WIDTH; diff --git a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx index 442e5d9d4d9b..85985c4b722c 100644 --- a/sc/source/ui/Accessibility/AccessibleCsvControl.cxx +++ b/sc/source/ui/Accessibility/AccessibleCsvControl.cxx @@ -344,14 +344,14 @@ sal_Int32 SAL_CALL ScAccessibleCsvRuler::getForeground( ) { SolarMutexGuard aGuard; ensureAlive(); - return implGetRuler().GetSettings().GetStyleSettings().GetLabelTextColor().GetColor(); + return sal_Int32(implGetRuler().GetSettings().GetStyleSettings().GetLabelTextColor()); } sal_Int32 SAL_CALL ScAccessibleCsvRuler::getBackground( ) { SolarMutexGuard aGuard; ensureAlive(); - return implGetRuler().GetSettings().GetStyleSettings().GetFaceColor().GetColor(); + return sal_Int32(implGetRuler().GetSettings().GetStyleSettings().GetFaceColor()); } // XAccessibleContext --------------------------------------------------------- @@ -878,7 +878,7 @@ sal_Int32 SAL_CALL ScAccessibleCsvGrid::getForeground( ) { SolarMutexGuard aGuard; ensureAlive(); - return implGetGrid().GetSettings().GetStyleSettings().GetButtonTextColor().GetColor(); + return sal_Int32(implGetGrid().GetSettings().GetStyleSettings().GetButtonTextColor()); } sal_Int32 SAL_CALL ScAccessibleCsvGrid::getBackground( ) @@ -1395,7 +1395,7 @@ sal_Int32 SAL_CALL ScAccessibleCsvCell::getForeground( ) { SolarMutexGuard aGuard; ensureAlive(); - return implGetGrid().GetSettings().GetStyleSettings().GetButtonTextColor().GetColor(); + return sal_Int32(implGetGrid().GetSettings().GetStyleSettings().GetButtonTextColor()); } sal_Int32 SAL_CALL ScAccessibleCsvCell::getBackground( ) |