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 /cui/source | |
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 'cui/source')
-rw-r--r-- | cui/source/tabpages/backgrnd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx index 024a8361b144..59b1d6060797 100644 --- a/cui/source/tabpages/backgrnd.cxx +++ b/cui/source/tabpages/backgrnd.cxx @@ -206,7 +206,7 @@ void BackgroundPreviewImpl::NotifyChange( const Color& rColor ) { const static Color aTranspCol( COL_TRANSPARENT ); - SetFillColor( rColor == aTranspCol ? GetSettings().GetStyleSettings().GetFieldColor() : Color(rColor.GetRGBColor()) ); + SetFillColor( rColor == aTranspCol ? GetSettings().GetStyleSettings().GetFieldColor() : rColor.GetRGBColor() ); Invalidate(aDrawRect); } } |