summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 13:34:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:11:24 +0100
commit9d1f56903b05841020dfae21dca0c686483b2494 (patch)
tree4ec33ec50c2781a1893c4a11502d7963d034a305 /sc/source/ui/Accessibility
parent1a41c0711d10bcfa45c7cd7d56c1e7f0055fa310 (diff)
use more Color in sc
Change-Id: Ifdd53fa0eed8cec7878d0f5b9eea1e2c826e3ae5 Reviewed-on: https://gerrit.libreoffice.org/50819 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r--sc/source/ui/Accessibility/AccessibleCellBase.cxx8
-rw-r--r--sc/source/ui/Accessibility/AccessibleCsvControl.cxx8
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( )