diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index e5d49edb9043..684d36f4b61c 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -595,7 +595,7 @@ BaseStorage* Storage::OpenStorage( const OUString& rName, StreamMode m, bool bDi OUString aNewName = rName; if( aNewName.isEmpty() ) { - aNewName = OUString( "Temp Stg " ) + OUString::number( ++nTmpCount ); + aNewName = "Temp Stg " + OUString::number( ++nTmpCount ); bTemp = true; } p = pIo->pTOC->Create( *pEntry, aNewName, STG_STORAGE ); @@ -654,7 +654,7 @@ BaseStorageStream* Storage::OpenStream( const OUString& rName, StreamMode m, boo OUString aNewName( rName ); if( aNewName.isEmpty() ) { - aNewName = OUString( "Temp Strm " ) + OUString::number( ++nTmpCount ); + aNewName = "Temp Strm " + OUString::number( ++nTmpCount ); bTemp = true; } p = pIo->pTOC->Create( *pEntry, aNewName, STG_STREAM ); |