diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-01-04 13:12:11 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-01-05 08:12:34 +0100 |
commit | 968db0f261e2eb19d09f91c52b0ce920fcbd02d2 (patch) | |
tree | afe7e450d7717fdce34e402213a83b0ac02b5cbe /vcl/inc/quartz | |
parent | 5da3ae08596c2465532e662537f5292454a84a3e (diff) |
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@collabora.com>
Diffstat (limited to 'vcl/inc/quartz')
-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 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; } }; |