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

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 2 22:27:40 UTC 2020


 vcl/inc/quartz/salvd.h |    2 +-
 vcl/quartz/salvd.cxx   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 65dc2fdc67537fe061052d53811c10bf03d5a113
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Thu Dec 3 00:23:46 2020 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Dec 3 00:26:49 2020 +0200

    There is nothing called "Quartz layer"
    
    We mean CGLayer, so say so.
    
    Change-Id: Iaa24471ce790114dc5cf2bbf353f9aa4a1d59893

diff --git a/vcl/inc/quartz/salvd.h b/vcl/inc/quartz/salvd.h
index 41d43fa5e538..939bd041cee1 100644
--- a/vcl/inc/quartz/salvd.h
+++ b/vcl/inc/quartz/salvd.h
@@ -43,7 +43,7 @@ private:
     bool mbForeignContext;           // is mxContext from outside VCL
     CGContextHolder maBitmapContext;
     int mnBitmapDepth;
-    CGLayerHolder maLayer; // Quartz layer
+    CGLayerHolder maLayer;
     AquaSalGraphics* mpGraphics;     // current VirDev graphics
 
     tools::Long mnWidth;
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx
index 57ba971a927a..6462a51573ce 100644
--- a/vcl/quartz/salvd.cxx
+++ b/vcl/quartz/salvd.cxx
@@ -228,7 +228,7 @@ bool AquaSalVirtualDevice::SetSize( tools::Long nDX, tools::Long nDY )
     mnWidth = nDX;
     mnHeight = nDY;
 
-    // create a Quartz layer matching to the intended virdev usage
+    // create a CGLayer matching to the intended virdev usage
     CGContextHolder xCGContextHolder;
     if( mnBitmapDepth && (mnBitmapDepth < 16) )
     {


More information about the Libreoffice-commits mailing list