summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleContextBase.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-26 17:13:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-28 07:34:27 +0100
commite2cb154195fdc2ffccdb6f5e87cae8b29640b3eb (patch)
tree7c3d53d78e0867aa879b98d84211d1e73602520f /sc/source/ui/Accessibility/AccessibleContextBase.cxx
parent0ea41fea75cd1ac1d81fa57c4411e75a6b4001f0 (diff)
convert COL_ constants to be of type Color
Change-Id: I0e25c8950ac26b851ff42f71e1471fcbe4770d48 Reviewed-on: https://gerrit.libreoffice.org/50373 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleContextBase.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleContextBase.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
index 4ba1d4f935cd..9ff271df2863 100644
--- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx
+++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx
@@ -213,12 +213,12 @@ void SAL_CALL ScAccessibleContextBase::grabFocus( )
sal_Int32 SAL_CALL ScAccessibleContextBase::getForeground( )
{
- return COL_BLACK;
+ return sal_Int32(COL_BLACK);
}
sal_Int32 SAL_CALL ScAccessibleContextBase::getBackground( )
{
- return COL_WHITE;
+ return sal_Int32(COL_WHITE);
}
//===== XAccessibleContext ==================================================