summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Tools.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 /sfx2/source/sidebar/Tools.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 'sfx2/source/sidebar/Tools.cxx')
-rw-r--r--sfx2/source/sidebar/Tools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/Tools.cxx b/sfx2/source/sidebar/Tools.cxx
index e246599fd9c0..deeb3eb56808 100644
--- a/sfx2/source/sidebar/Tools.cxx
+++ b/sfx2/source/sidebar/Tools.cxx
@@ -81,8 +81,8 @@ css::awt::Gradient Tools::VclToAwtGradient (const Gradient& rVclGradient)
{
css::awt::Gradient aAwtGradient (
awt::GradientStyle(rVclGradient.GetStyle()),
- rVclGradient.GetStartColor().GetRGBColor(),
- rVclGradient.GetEndColor().GetRGBColor(),
+ sal_Int32(rVclGradient.GetStartColor().GetRGBColor()),
+ sal_Int32(rVclGradient.GetEndColor().GetRGBColor()),
rVclGradient.GetAngle(),
rVclGradient.GetBorder(),
rVclGradient.GetOfsX(),