From afc755fa61cfd9645c4ed2507bdc3a06b721ed5c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Feb 2017 12:00:27 +0200 Subject: loplugin:unusedenumconstants read-only constants in vcl (2) Change-Id: Ia3da23e0ef2fa710403745bd11255ed001516da4 Reviewed-on: https://gerrit.libreoffice.org/34020 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/opengl/scale.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/opengl') diff --git a/vcl/opengl/scale.cxx b/vcl/opengl/scale.cxx index 3ffb6a34dd45..a6fa42ca543e 100644 --- a/vcl/opengl/scale.cxx +++ b/vcl/opengl/scale.cxx @@ -350,7 +350,7 @@ bool OpenGLSalBitmap::ImplScale( const double& rScaleX, const double& rScaleY, B { return ImplScaleFilter( xContext, rScaleX, rScaleY, GL_LINEAR ); } - else if( nScaleFlag == BmpScaleFlag::Super || nScaleFlag == BmpScaleFlag::Default ) + else if( nScaleFlag == BmpScaleFlag::Default ) { const Lanczos3Kernel aKernel; @@ -381,7 +381,6 @@ bool OpenGLSalBitmap::Scale( const double& rScaleX, const double& rScaleY, BmpSc if( nScaleFlag == BmpScaleFlag::Fast || nScaleFlag == BmpScaleFlag::BiLinear || - nScaleFlag == BmpScaleFlag::Super || nScaleFlag == BmpScaleFlag::Lanczos || nScaleFlag == BmpScaleFlag::Default || nScaleFlag == BmpScaleFlag::BestQuality ) -- cgit