vcl/quartz/salgdiutils.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 0936710f750a24e732072484dd8576883fa9bedf Author: Tor Lillqvist <[email protected]> AuthorDate: Mon Jul 20 14:43:33 2020 +0300 Commit: Tor Lillqvist <[email protected]> CommitDate: Wed Jul 22 07:31:16 2020 +0200 This file is used for macOS only Change-Id: I9500453c8964b774e4b0be41a7b2f1a8c28040b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99138 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Tor Lillqvist <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99183 Tested-by: Jenkins diff --git a/vcl/quartz/salgdiutils.cxx b/vcl/quartz/salgdiutils.cxx index 589bd2ae22e5..426aea29dc78 100644 --- a/vcl/quartz/salgdiutils.cxx +++ b/vcl/quartz/salgdiutils.cxx @@ -134,11 +134,7 @@ bool AquaSalGraphics::CheckContext() const int nBytesPerRow = (nBitmapDepth * nScaledWidth) / 8; void* pRawData = std::malloc(nBytesPerRow * nScaledHeight); -#ifdef MACOSX - const int nFlags = kCGImageAlphaNoneSkipFirst; -#else - const int nFlags = kCGImageAlphaNoneSkipFirst | kCGImageByteOrder32Little; -#endif + const int nFlags = kCGImageAlphaNoneSkipFirst; CGContextHolder aContextHolder(CGBitmapContextCreate( pRawData, nScaledWidth, nScaledHeight, 8, nBytesPerRow, GetSalData()->mxRGBSpace, nFlags)); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
