diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-01-04 13:12:11 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-01-18 08:30:18 +0100 |
commit | 2b5c42230f48f75d6e4187b1db15b249893ed46b (patch) | |
tree | e562fd8af43537ca0cc13b687ecd2259b1c60e1f /vcl | |
parent | 44dfa5ef2ffac1740ba270978de3e1b12484b5e8 (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>
Diffstat (limited to 'vcl')
-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; } }; |