From 63b0ce97ba0f71c28a7880c741100b0240332e74 Mon Sep 17 00:00:00 2001 From: Jean-Noël Rouvignac Date: Wed, 20 Feb 2013 00:21:37 +0100 Subject: fdo#38838 searched, replaced and removed String::CreateFromInt32(). I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot Reviewed-by: Thomas Arnhold Tested-by: Thomas Arnhold --- unotools/source/ucbhelper/tempfile.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unotools') diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx index 1782dcf6a011..5ffb316b0b78 100644 --- a/unotools/source/ucbhelper/tempfile.cxx +++ b/unotools/source/ucbhelper/tempfile.cxx @@ -267,7 +267,7 @@ void lcl_createName(TempFile_Impl& _rImpl,const String& rLeadingChars,sal_Bool _ { String aTmp( aName ); if ( bUseNumber ) - aTmp += String::CreateFromInt32( i ); + aTmp += OUString::number( i ); bUseNumber = sal_True; if ( pExtension ) aTmp += *pExtension; @@ -316,7 +316,7 @@ umask(old_mode); } } if ( !_bStartWithZero ) - aTmp += String::CreateFromInt32( i ); + aTmp += OUString::number( i ); } } -- cgit