From 41cde55f943ea43da1ac18987d30e33a0a551e1b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Nov 2015 11:54:11 +0200 Subject: loplugin:unusedfields in basebmp Change-Id: I1a5da92deef152ef298e2036dbb2fbb65a5e3e7a Reviewed-on: https://gerrit.libreoffice.org/20076 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- basebmp/inc/genericcolorimageaccessor.hxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/basebmp/inc/genericcolorimageaccessor.hxx b/basebmp/inc/genericcolorimageaccessor.hxx index 346da7cd6b88..04e7f97c3a0a 100644 --- a/basebmp/inc/genericcolorimageaccessor.hxx +++ b/basebmp/inc/genericcolorimageaccessor.hxx @@ -33,20 +33,12 @@ namespace basebmp class GenericColorImageAccessor { BitmapDeviceSharedPtr mpDevice; - DrawMode meDrawMode; public: typedef Color value_type; explicit GenericColorImageAccessor( BitmapDeviceSharedPtr const& rTarget ) : - mpDevice(rTarget), - meDrawMode(DrawMode::Paint) - {} - - GenericColorImageAccessor( BitmapDeviceSharedPtr const& rTarget, - DrawMode eDrawMode ) : - mpDevice(rTarget), - meDrawMode(eDrawMode) + mpDevice(rTarget) {} template< typename Iterator > -- cgit