From 23e3de725e32c05c615a7fd352edcc9f579e5bce Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 May 2024 12:14:54 +0200 Subject: use more string_view in i18nutil::PaperInfo Change-Id: I54e75c14b7dbfbfb03e827b5c6167f1256f2733e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167628 Reviewed-by: Noel Grandin Tested-by: Jenkins --- include/i18nutil/paper.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/i18nutil') diff --git a/include/i18nutil/paper.hxx b/include/i18nutil/paper.hxx index b84d7b3af074..c097727cfa7c 100644 --- a/include/i18nutil/paper.hxx +++ b/include/i18nutil/paper.hxx @@ -147,7 +147,7 @@ public: static PaperInfo getSystemDefaultPaper(); static PaperInfo getDefaultPaperForLocale(const css::lang::Locale& rLocale); - static Paper fromPSName(const OString& rName); + static Paper fromPSName(std::string_view rName); static OString toPSName(Paper eType); static tools::Long sloppyFitPageDimension(tools::Long nDimension); -- cgit