diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-01-04 13:12:11 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-21 10:29:20 +0100 |
commit | adde1cf598f860660239f976334dbe609df3cca2 (patch) | |
tree | 25f1221e2b237d1c361ff69ac8d3648476982999 | |
parent | 24081bf72b20c08563df40e33fd5e549c9d91074 (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>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109556
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/inc/quartz/CGHelpers.hxx | 2 |
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; } }; |