From bc7ea0a75911a782c0008be64508cbf3e0d74cc3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 2 May 2022 08:47:34 +0200 Subject: loplugin:stringviewparam Change-Id: Ife277f789270f80a40cd711a9235e41bbb3384ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133686 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/win/gdi/salfont.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index acaca76584a3..bc112a26d2ee 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -28,6 +28,7 @@ #include #include #include +#include #include #include @@ -1090,7 +1091,7 @@ void ImplReleaseTempFonts(SalData& rSalData, bool bAll) } } -static OUString lcl_GetFontFamilyName(const OUString& rFontFileURL) +static OUString lcl_GetFontFamilyName(std::u16string_view rFontFileURL) { // Create temporary file name OUString aTempFileURL; -- cgit