diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-08 12:00:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-09 05:46:03 +0000 |
commit | afc755fa61cfd9645c4ed2507bdc3a06b721ed5c (patch) | |
tree | 927b4fa1f1deaf22362c13e43d16fd716f29e630 /vcl/opengl | |
parent | 026345eeb2aa9fca02bc055f28ebd34abd7ad680 (diff) |
loplugin:unusedenumconstants read-only constants in vcl (2)
Change-Id: Ia3da23e0ef2fa710403745bd11255ed001516da4
Reviewed-on: https://gerrit.libreoffice.org/34020
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/scale.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 ) |