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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Dec 26 15:33:13 UTC 2018


 include/vcl/bitmap.hxx |    2 +-
 vcl/quartz/salbmp.cxx  |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 090f0e3094e8d6e485f275964133d8b1712c358d
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Wed Dec 26 15:04:42 2018 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Wed Dec 26 16:54:23 2018 +0200

    The macOS+iOS-specific BitmapSystemData::rImageContext was not used anywhere
    
    Change-Id: I7190a44d4857fd337fb49e689cd71ffb78b86b9d

diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index b66d4efb122b..16dad0e6601d 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -93,7 +93,7 @@ struct BitmapSystemData
     #if defined(_WIN32)
     void* pDIB; // device independent byte buffer
     #elif defined( MACOSX ) || defined( IOS )
-    void* rImageContext;     //Image context (CGContextRef)
+    // Nothing needed, apparently
     #else
     void* aPixmap;
     #endif
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 791844632267..f008b02a004e 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -999,7 +999,6 @@ bool QuartzSalBitmap::GetSystemData( BitmapSystemData& rData )
             mxGraphicContext = mxGraphicContextNew;
         }
 
-        rData.rImageContext = static_cast<void *>(mxGraphicContext);
         rData.mnWidth = mnWidth;
         rData.mnHeight = mnHeight;
     }


More information about the Libreoffice-commits mailing list