From c756f32851e8a0b7eb9c0fee9991f154c758a95c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 22 Nov 2018 11:15:04 +0200 Subject: [PATCH] drop unused ColorType in canvas Change-Id: I319cc18db1b068bdfe1e7a9b6fbabb74ab7be04b Reviewed-on: https://gerrit.libreoffice.org/63908 Tested-by: Jenkins Reviewed-by: Noel Grandin --- canvas/source/cairo/cairo_canvashelper.hxx | 5 ----- .../clang/unusedenumconstants.untouched.results | 8 -------- 2 files changed, 13 deletions(-) diff --git a/canvas/source/cairo/cairo_canvashelper.hxx b/canvas/source/cairo/cairo_canvashelper.hxx index 3e14b672df40..0ee7b1011552 100644 --- a/canvas/source/cairo/cairo_canvashelper.hxx +++ b/canvas/source/cairo/cairo_canvashelper.hxx @@ -211,11 +211,6 @@ namespace cairocanvas css::rendering::IntegerBitmapLayout getMemoryLayout(); - enum ColorType - { - LINE_COLOR, FILL_COLOR, TEXT_COLOR, IGNORE_COLOR - }; - void doPolyPolygonPath( const css::uno::Reference< css::rendering::XPolyPolygon2D >& xPolyPolygon, Operation aOperation, bool bNoLineJoin = false, diff --git a/compilerplugins/clang/unusedenumconstants.untouched.results b/compilerplugins/clang/unusedenumconstants.untouched.results index cfec89df35b9..2910a535304b 100644 --- a/compilerplugins/clang/unusedenumconstants.untouched.results +++ b/compilerplugins/clang/unusedenumconstants.untouched.results @@ -1,11 +1,3 @@ -canvas/source/cairo/cairo_canvashelper.hxx:216 - enum cairocanvas::CanvasHelper::ColorType IGNORE_COLOR -canvas/source/cairo/cairo_canvashelper.hxx:216 - enum cairocanvas::CanvasHelper::ColorType TEXT_COLOR -canvas/source/cairo/cairo_canvashelper.hxx:216 - enum cairocanvas::CanvasHelper::ColorType LINE_COLOR -canvas/source/cairo/cairo_canvashelper.hxx:216 - enum cairocanvas::CanvasHelper::ColorType FILL_COLOR drawinglayer/source/tools/emfpbrush.hxx:32 enum emfplushelper::EmfPlusHatchStyle HatchStyleVertical drawinglayer/source/tools/emfpbrush.hxx:33