diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-14 12:14:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-05-14 19:49:10 +0200 |
commit | 23e3de725e32c05c615a7fd352edcc9f579e5bce (patch) | |
tree | 71c5acf7ca2237eed352d4ab87ef87359aa8887a /include/i18nutil | |
parent | f6c9cb470e2786ada58b7ba401975375239b610b (diff) |
use more string_view in i18nutil::PaperInfo
Change-Id: I54e75c14b7dbfbfb03e827b5c6167f1256f2733e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167628
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'include/i18nutil')
-rw-r--r-- | include/i18nutil/paper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |