summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-10 18:01:17 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-04-10 20:09:26 +0200
commitf6fa9c455502e9a00e4a4cff6e19f3e17c5479c3 (patch)
tree2aec6ab1a00a8be7630b5b189269f076e2b7d2b0 /svtools
parentb454107b87ac78096d98fd7ceedcbfac71d247a0 (diff)
Use more *string_view
Change-Id: I1172febd45da4dba006f8495427fe45c6d9b9fa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150187 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svrtf/rtfout.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx
index 7a8f0e252002..e66e66d840bb 100644
--- a/svtools/source/svrtf/rtfout.cxx
+++ b/svtools/source/svrtf/rtfout.cxx
@@ -155,8 +155,7 @@ SvStream& Out_Char(SvStream& rStream, sal_Unicode c,
*pUCMode = nLen;
}
rStream.WriteCharPtr( "\\u" )
- .WriteCharPtr( OString::number(
- static_cast<sal_Int32>(c)).getStr() );
+ .WriteInt32AsString(c);
}
for (sal_Int32 nI = 0; nI < nLen; ++nI)