summaryrefslogtreecommitdiff
path: root/vcl/win/dtrans/ImplHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win/dtrans/ImplHelper.cxx')
-rw-r--r--vcl/win/dtrans/ImplHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/dtrans/ImplHelper.cxx b/vcl/win/dtrans/ImplHelper.cxx
index 0e38b9183d82..227876b19cb8 100644
--- a/vcl/win/dtrans/ImplHelper.cxx
+++ b/vcl/win/dtrans/ImplHelper.cxx
@@ -113,7 +113,7 @@ OUString getWinCPFromLocaleId( LCID lcid, LCTYPE lctype )
// to the given codepage, optional a prefix can be
// given, e.g. "windows-" or "cp"
-OUString getMimeCharsetFromWinCP( sal_uInt32 cp, const OUString& aPrefix )
+OUString getMimeCharsetFromWinCP( sal_uInt32 cp, std::u16string_view aPrefix )
{
return aPrefix + cptostr( cp );
}
@@ -122,7 +122,7 @@ OUString getMimeCharsetFromWinCP( sal_uInt32 cp, const OUString& aPrefix )
// to the given locale id and locale type, optional a
// prefix can be given, e.g. "windows-" or "cp"
-OUString getMimeCharsetFromLocaleId( LCID lcid, LCTYPE lctype, const OUString& aPrefix )
+OUString getMimeCharsetFromLocaleId( LCID lcid, LCTYPE lctype, std::u16string_view aPrefix )
{
OUString charset = getWinCPFromLocaleId( lcid, lctype );
return aPrefix + charset;