summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-01-04 13:12:11 +0200
committerTor Lillqvist <tml@iki.fi>2021-01-18 15:49:10 +0200
commit7af82a5cdcce31e1dc9800437fa2780536265322 (patch)
treef21591ad157552fdfa30ac1bc31145627771a79e
parentbcb670f43e66511c0171e42de59516e50e4a7910 (diff)
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@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109494 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--vcl/inc/quartz/CGHelpers.hxx2
1 files changed, 1 insertions, 1 deletions
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; }
};