diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-10-08 12:32:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-09 21:05:09 +0200 |
commit | f77524954702f52fe3cd3f40edac539f6a7170dc (patch) | |
tree | 99c885b2ce6eb703d7d1cceab1196e8527154613 /cppcanvas/source/wrapper/implcanvas.cxx | |
parent | 6d7191a9bbbae1421edc7d94dccc040f622bc227 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/wrapper/implcanvas.cxx')
-rw-r--r-- | cppcanvas/source/wrapper/implcanvas.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cppcanvas/source/wrapper/implcanvas.cxx b/cppcanvas/source/wrapper/implcanvas.cxx index 23d055e2b9f6..68a4cb28750c 100644 --- a/cppcanvas/source/wrapper/implcanvas.cxx +++ b/cppcanvas/source/wrapper/implcanvas.cxx @@ -29,7 +29,6 @@ #include <cppcanvas/polypolygon.hxx> #include "implfont.hxx" -#include "implcolor.hxx" #include "implcanvas.hxx" @@ -84,11 +83,6 @@ namespace cppcanvas return !maClipPolyPolygon ? nullptr : &(*maClipPolyPolygon); } - ColorSharedPtr ImplCanvas::createColor() const - { - return ColorSharedPtr( new ImplColor( getUNOCanvas()->getDevice() ) ); - } - CanvasSharedPtr ImplCanvas::clone() const { return CanvasSharedPtr( new ImplCanvas( *this ) ); |