diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 4 | ||||
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index f95b241d4a0f..5835acf65a3f 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -596,7 +596,7 @@ BaseStorage* Storage::OpenStorage( const String& rName, StreamMode m, bool bDire if( !aNewName.Len() ) { aNewName.AssignAscii( "Temp Stg " ); - aNewName.Append( String::CreateFromInt32( ++nTmpCount ) ); + aNewName.Append( OUString::number( ++nTmpCount ) ); bTemp = sal_True; } p = pIo->pTOC->Create( *pEntry, aNewName, STG_STORAGE ); @@ -656,7 +656,7 @@ pB if( !aNewName.Len() ) { aNewName.AssignAscii( "Temp Strm " ); - aNewName.Append( String::CreateFromInt32( ++nTmpCount ) ); + aNewName.Append( OUString::number( ++nTmpCount ) ); bTemp = sal_True; } p = pIo->pTOC->Create( *pEntry, aNewName, STG_STREAM ); diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 4360dcd85bd9..58dfff7685b5 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -3213,7 +3213,7 @@ String UCBStorage::CreateLinkFile( const String& rName ) for ( sal_Int32 i=0; !bRet; i++ ) { String aTmp( aTitle ); - aTmp += String::CreateFromInt32( i ); + aTmp += OUString::number( i ); bRet = ::utl::UCBContentHelper::MakeFolder( aFolder, aTmp, aNewFolder ); if ( bRet ) aTitle = aTmp; |