diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-27 17:18:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 08:24:24 +0100 |
commit | d3510bef84423f17ece0715b7a8cdb75725c5938 (patch) | |
tree | 6353de73ea7328e6f4f8297a6f85a1d618a2ee33 /oox | |
parent | 38368a9ec30d1979f03f4b7035a1c5ecb9ac24e6 (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 'oox')
-rw-r--r-- | oox/source/drawingml/table/tablecell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx index 36751930d59a..c8cef8384435 100644 --- a/oox/source/drawingml/table/tablecell.cxx +++ b/oox/source/drawingml/table/tablecell.cxx @@ -450,7 +450,7 @@ void TableCell::pushToXCell( const ::oox::core::XmlFilterBase& rFilterBase, cons ::Color nCellColor( rCellColor.getColor(rFilterBase.getGraphicHelper()) ); ::Color aResult( basegfx::interpolate(nBgColor.getBColor(), nCellColor.getBColor(), 1.0 - fTransparency) ); aFillProperties.maFillColor.clearTransformations(); - aFillProperties.maFillColor.setSrgbClr(aResult.GetRGBColor()); + aFillProperties.maFillColor.setSrgbClr(sal_Int32(aResult.GetRGBColor())); aFillProperties.moFillType.set(XML_solidFill); } if (!aFillProperties.moFillType.has()) |