summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/HtmlReader.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:18:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 08:24:24 +0100
commitd3510bef84423f17ece0715b7a8cdb75725c5938 (patch)
tree6353de73ea7328e6f4f8297a6f85a1d618a2ee33 /dbaccess/source/ui/misc/HtmlReader.cxx
parent38368a9ec30d1979f03f4b7035a1c5ecb9ac24e6 (diff)
make Color::GetRGBColor return Color instead of ColorData
Change-Id: I532959a7103c3857510f26ecce2f942d676a233b Reviewed-on: https://gerrit.libreoffice.org/50487 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/HtmlReader.cxx')
-rw-r--r--dbaccess/source/ui/misc/HtmlReader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx
index 2892205962e1..e195bc716b4f 100644
--- a/dbaccess/source/ui/misc/HtmlReader.cxx
+++ b/dbaccess/source/ui/misc/HtmlReader.cxx
@@ -331,7 +331,7 @@ void OHTMLReader::TableFontOn(FontDescriptor& _rFont,sal_Int32 &_rTextColor)
{
Color aColor;
rOption.GetColor( aColor );
- _rTextColor = aColor.GetRGBColor();
+ _rTextColor = sal_Int32(aColor.GetRGBColor());
}
break;
case HtmlOptionId::FACE :