[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - vcl/inc

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 18 07:30:51 UTC 2021


 vcl/inc/quartz/CGHelpers.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2b5c42230f48f75d6e4187b1db15b249893ed46b
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Jan 4 13:12:11 2021 +0200
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Mon Jan 18 08:30:18 2021 +0100

    CGLayerHolder::getScale() can be const
    
    (Will be required by upcoming bugfix.)
    
    Change-Id: I727b2b5f1035ae70d62d3c5339a814161e3ec92a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108663
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109494
    Tested-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/vcl/inc/quartz/CGHelpers.hxx b/vcl/inc/quartz/CGHelpers.hxx
index cbd9a5e785f4..c83477ead4fe 100644
--- a/vcl/inc/quartz/CGHelpers.hxx
+++ b/vcl/inc/quartz/CGHelpers.hxx
@@ -68,7 +68,7 @@ public:
 
     void set(CGLayerRef const& pLayer) { mpLayer = pLayer; }
 
-    float getScale() { return mfScale; }
+    float getScale() const { return mfScale; }
 
     void setScale(float fScale) { mfScale = fScale; }
 };


More information about the Libreoffice-commits mailing list