From f6fa9c455502e9a00e4a4cff6e19f3e17c5479c3 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 10 Apr 2023 18:01:17 +0300 Subject: Use more *string_view Change-Id: I1172febd45da4dba006f8495427fe45c6d9b9fa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150187 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- svtools/source/svrtf/rtfout.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svtools/source/svrtf/rtfout.cxx') 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(c)).getStr() ); + .WriteInt32AsString(c); } for (sal_Int32 nI = 0; nI < nLen; ++nI) -- cgit