From d3510bef84423f17ece0715b7a8cdb75725c5938 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 17:18:39 +0200 Subject: make Color::GetRGBColor return Color instead of ColorData Change-Id: I532959a7103c3857510f26ecce2f942d676a233b Reviewed-on: https://gerrit.libreoffice.org/50487 Tested-by: Jenkins Reviewed-by: Noel Grandin --- tools/source/generic/color.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index 9abc74141728..70b388b416f9 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -198,7 +198,7 @@ SvStream& Color::Write( SvStream& rOStm ) const OUString Color::AsRGBHexString() const { std::stringstream ss; - ss << std::hex << std::setfill ('0') << std::setw(6) << GetRGBColor(); + ss << std::hex << std::setfill ('0') << std::setw(6) << sal_uInt32(GetRGBColor()); return OUString::createFromAscii(ss.str().c_str()); } -- cgit