[Libreoffice-commits] core.git: vcl/inc
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 5 07:13:16 UTC 2021
vcl/inc/quartz/CGHelpers.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 968db0f261e2eb19d09f91c52b0ce920fcbd02d2
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Jan 4 13:12:11 2021 +0200
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Jan 5 08:12:34 2021 +0100
CGLayerHolder::getScale() can be const
Change-Id: I727b2b5f1035ae70d62d3c5339a814161e3ec92a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108663
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/vcl/inc/quartz/CGHelpers.hxx b/vcl/inc/quartz/CGHelpers.hxx
index 6fb441c603b7..a43b3e975185 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