From e2cb154195fdc2ffccdb6f5e87cae8b29640b3eb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 Feb 2018 17:13:01 +0200 Subject: convert COL_ constants to be of type Color Change-Id: I0e25c8950ac26b851ff42f71e1471fcbe4770d48 Reviewed-on: https://gerrit.libreoffice.org/50373 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- accessibility/source/standard/vclxaccessiblelistitem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accessibility') diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index d64852f4e0e8..fe298428ca7f 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -605,7 +605,7 @@ void SAL_CALL VCLXAccessibleListItem::removeAccessibleEventListener( const Refer // the color that is actually used. sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground() { - return COL_BLACK; + return sal_Int32(COL_BLACK); } // AF (Oct. 29 2002): Return white as constant background color. This is an @@ -613,7 +613,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground() // the color that is actually used. sal_Int32 SAL_CALL VCLXAccessibleListItem::getBackground() { - return COL_WHITE; + return sal_Int32(COL_WHITE); } -- cgit