diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 16:33:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-23 09:12:23 +0200 |
commit | 9d5b9bf881606e83a051cc192d08c4690f98a8ba (patch) | |
tree | 448a72316772fc2b5588d70b53ec5223fb7d0769 /vcl/qt5 | |
parent | 4ad54c347180f227fac127b70c4072c192c21ddd (diff) |
loplugin:returnconstval in vcl
Change-Id: Id4a0b460ba3c43e80b80ae6e2da9e40a6753e14c
Reviewed-on: https://gerrit.libreoffice.org/77965
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/Qt5Graphics_Text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Graphics_Text.cxx b/vcl/qt5/Qt5Graphics_Text.cxx index 04107c2841af..38723f3dd623 100644 --- a/vcl/qt5/Qt5Graphics_Text.cxx +++ b/vcl/qt5/Qt5Graphics_Text.cxx @@ -73,7 +73,7 @@ void Qt5Graphics::GetFontMetric(ImplFontMetricDataRef& rFMD, int nFallbackLevel) rFMD->SetMinKashida(m_pTextStyle[nFallbackLevel]->GetKashidaWidth()); } -const FontCharMapRef Qt5Graphics::GetFontCharMap() const +FontCharMapRef Qt5Graphics::GetFontCharMap() const { if (!m_pTextStyle[0]) return FontCharMapRef(new FontCharMap()); |