summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-31 11:01:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-31 11:01:22 +0200
commita5d4179ecf35b4cd4c7d869e06932340cd24e982 (patch)
treebf5c3c4da85de566fc87e8aaeb22d88804b9d001 /vcl/quartz
parentf734304a7fc27e26468616b8e50d378f6ff39749 (diff)
loplugin:constparams: vcl (macOS)
Change-Id: I993ab0021d0a0bee8e78975bba180355d2bfb19c
Diffstat (limited to 'vcl/quartz')
-rw-r--r--vcl/quartz/ctfonts.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx
index e235c5d223b9..9c2acbd2de01 100644
--- a/vcl/quartz/ctfonts.cxx
+++ b/vcl/quartz/ctfonts.cxx
@@ -110,7 +110,7 @@ CoreTextStyle::~CoreTextStyle()
hb_font_destroy( mpHbFont );
}
-void CoreTextStyle::GetFontMetric( ImplFontMetricDataRef& rxFontMetric ) const
+void CoreTextStyle::GetFontMetric( ImplFontMetricDataRef const & rxFontMetric ) const
{
// get the matching CoreText font handle
// TODO: is it worth it to cache the CTFontRef in SetFont() and reuse it here?