diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-15 11:05:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:31 +0200 |
commit | 610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch) | |
tree | 6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /sot | |
parent | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff) |
remove unnecessary use of OUString constructor when assigning
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
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 ); |