[Libreoffice-commits] core.git: vcl/quartz

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 20 23:02:49 UTC 2018


 vcl/quartz/salgdiutils.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 4a170d29eb35f288b1c66d810bb17ee0f3ddecc6
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Dec 21 01:01:47 2018 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Dec 21 01:01:47 2018 +0200

    Bin unnecessary #ifdef, this file is for macOS only
    
    Change-Id: Ia969648653b71e441446c38c4bed632ff1e53cc6

diff --git a/vcl/quartz/salgdiutils.cxx b/vcl/quartz/salgdiutils.cxx
index 30c5755d1efd..ba94be73f132 100644
--- a/vcl/quartz/salgdiutils.cxx
+++ b/vcl/quartz/salgdiutils.cxx
@@ -152,9 +152,6 @@ bool AquaSalGraphics::CheckContext()
                 const int nBytesPerRow = (nBitmapDepth * mnWidth) / 8;
                 void* pRawData = std::malloc(nBytesPerRow * mnHeight);
                 const int nFlags = kCGImageAlphaNoneSkipFirst;
-#ifndef MACOSX
-                nFlags |= kCGImageByteOrder32Little;
-#endif
                 mrContext = CGBitmapContextCreate(pRawData, mnWidth, mnHeight, 8, nBytesPerRow,
                                                   GetSalData()->mxRGBSpace, nFlags);
                 SAL_INFO("vcl.cg", "CGBitmapContextCreate(" << mnWidth << "x" << mnHeight


More information about the Libreoffice-commits mailing list