[Libreoffice-commits] core.git: vcl/opengl
Luboš Luňák (via logerrit)
logerrit at kemper.freedesktop.org
Thu Oct 24 07:56:26 UTC 2019
vcl/opengl/salbmp.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cdd370dc0ff5b635c29c294238470874f28000f2
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Oct 23 12:04:02 2019 +0200
Commit: Tomaž Vajngerl <quikee at 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 <quikee at 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();
More information about the Libreoffice-commits
mailing list