vcl/opengl/salbmp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cdd370dc0ff5b635c29c294238470874f28000f2 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Wed Oct 23 12:04:02 2019 +0200 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Thu Oct 24 09:55:07 2019 +0200 no-op in SalBitmap::ConvertToGreyscale() is also a success Change-Id: I6bf3378c89c630aee0a890ac2807a31ea040cd52 Reviewed-on: https://gerrit.libreoffice.org/81374 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index f626c207e488..36c34a2b3b92 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -919,7 +919,7 @@ bool OpenGLSalBitmap::ConvertToGreyscale() // avoid re-converting to 8bits. if ( mnBits == 8 && maPalette == Bitmap::GetGreyPalette(256) ) - return false; + return true; OpenGLZone aZone; rtl::Reference<OpenGLContext> xContext = OpenGLContext::getVCLContext(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits