From f77524954702f52fe3cd3f40edac539f6a7170dc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 8 Oct 2017 12:32:58 +0200 Subject: remove cppcanvas Color class which actually does nothing useful. Looks like it was originally intended to be used to implement color profiles, but since nothing has happened on that front since it was created, safe to say it never will. Probably not the right place in the graphics stack to do it anyhow. Change-Id: I36990db4036e3b4b2b75261fc430028562a6dbd9 Reviewed-on: https://gerrit.libreoffice.org/43240 Tested-by: Jenkins Reviewed-by: Noel Grandin --- slideshow/source/inc/rgbcolor.hxx | 4 ++-- slideshow/source/inc/tools.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'slideshow/source/inc') diff --git a/slideshow/source/inc/rgbcolor.hxx b/slideshow/source/inc/rgbcolor.hxx index 6028c1e889e9..9e12ec902a02 100644 --- a/slideshow/source/inc/rgbcolor.hxx +++ b/slideshow/source/inc/rgbcolor.hxx @@ -37,7 +37,7 @@ namespace slideshow { public: RGBColor(); - explicit RGBColor( ::cppcanvas::Color::IntSRGBA nRGBColor ); + explicit RGBColor( ::cppcanvas::IntSRGBA nRGBColor ); RGBColor( double nRed, double nGreen, double nBlue ); explicit RGBColor( const HSLColor& rColor ); @@ -55,7 +55,7 @@ namespace slideshow /** Create an integer sRGBA color. */ - ::cppcanvas::Color::IntSRGBA getIntegerColor() const; + ::cppcanvas::IntSRGBA getIntegerColor() const; struct RGBTriple { diff --git a/slideshow/source/inc/tools.hxx b/slideshow/source/inc/tools.hxx index 646c646e7d62..1f4128d65199 100644 --- a/slideshow/source/inc/tools.hxx +++ b/slideshow/source/inc/tools.hxx @@ -261,13 +261,13 @@ namespace slideshow RGBColor unoColor2RGBColor( sal_Int32 ); /** Convert an IntSRGBA to plain UNO API 32 bit int */ - sal_Int32 RGBAColor2UnoColor( cppcanvas::Color::IntSRGBA ); + sal_Int32 RGBAColor2UnoColor( cppcanvas::IntSRGBA ); /** Fill a plain rectangle on the given canvas with the given color */ void fillRect( const std::shared_ptr< cppcanvas::Canvas >& rCanvas, const basegfx::B2DRange& rRect, - cppcanvas::Color::IntSRGBA aFillColor ); + cppcanvas::IntSRGBA aFillColor ); /** Init canvas with default background (white) */ -- cgit v1.2.3