[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - vcl/inc

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Sun Jan 17 22:22:41 UTC 2021


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

New commits:
commit c70e427cefd2a257f624f0fbb9bc343f3eb89bcc
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Jan 4 13:12:11 2021 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sun Jan 17 23:22:07 2021 +0100

    CGLayerHolder::getScale() can be const
    
    (Upcoming bugfix will require that.)
    
    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/+/109491
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.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