diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-02 08:47:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-02 14:39:17 +0200 |
commit | bc7ea0a75911a782c0008be64508cbf3e0d74cc3 (patch) | |
tree | 72a1b6517fb6a02c374f3a40bbe4035a30e028f2 | |
parent | 5d4ba848a378063ff7965a5871602525ac482703 (diff) |
loplugin:stringviewparam
Change-Id: Ife277f789270f80a40cd711a9235e41bbb3384ad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133686
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | vcl/win/gdi/salfont.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <mutex> #include <set> #include <string.h> +#include <string_view> #include <svsys.h> #include <vector> @@ -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; |