summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 14:38:16 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-11-29 17:56:29 +0100
commit93a2d90ee04a11f85b30f157b7d7d6bc128e99f1 (patch)
treea3cd2b96422937e976ed9a2535cafdce052078f8 /test
parentb5ef7455a6f1cf608501e4360be7ea54ff13feb2 (diff)
Extended loplugin:ostr: test
Change-Id: I75974611446486415c8b19b3723761ab1bb46c74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160098 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'test')
-rw-r--r--test/source/helper/transferable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/helper/transferable.cxx b/test/source/helper/transferable.cxx
index 81b869be3c86..e264dba1abf6 100644
--- a/test/source/helper/transferable.cxx
+++ b/test/source/helper/transferable.cxx
@@ -28,7 +28,7 @@ OString OOO_DLLPUBLIC_TEST getTextSelection(
{
if (o3tl::getToken(mimeType, 0, ';', nIndex) == "charset=utf-8")
{
- mimeType = "text/plain;charset=utf-16";
+ mimeType = "text/plain;charset=utf-16"_ostr;
bConvert = true;
}
}