summaryrefslogtreecommitdiff
path: root/configmgr/source/writemodfile.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-05-06 18:30:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-05-07 08:46:04 +0200
commitb667543a2a63b3933630032b5470db8bc3eefaf9 (patch)
tree13783ce88f4a85cdc943561cf50a2e66aee6b086 /configmgr/source/writemodfile.cxx
parentae4f76363dd25eaaa7d332512af067567e78ca0a (diff)
loplugin:ostr in configmgr
Change-Id: If1caaee8e54b5861e1435e900b3ae7bd90ecae5f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167237 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Jenkins
Diffstat (limited to 'configmgr/source/writemodfile.cxx')
-rw-r--r--configmgr/source/writemodfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx
index 3e7e281eb6aa..51a738d8d31c 100644
--- a/configmgr/source/writemodfile.cxx
+++ b/configmgr/source/writemodfile.cxx
@@ -67,7 +67,7 @@ OString convertToUtf8(std::u16string_view text) {
RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR)))
{
throw css::uno::RuntimeException(
- "cannot convert to UTF-8");
+ u"cannot convert to UTF-8"_ustr);
}
return s;
}