summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-13 09:29:22 +0200
committerNoel Grandin <noel@peralex.com>2013-12-17 11:49:03 +0200
commit08fe82e59cbc598d2683d72877653316c1e41962 (patch)
tree5eeace3006ef2bfd58a5d97a000f336b8b06099c /sot
parentfc985c30048d410ab68a55af64f56df85547a6bf (diff)
Remove unnecessary use of OUString constructor in + expressions
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 9f9d50dd6e12..9c431434f15b 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -1843,7 +1843,7 @@ void UCBStorage_Impl::ReadContent()
else if ( bIsOfficeDocument )
{
// streams can be external OLE objects, so they are now folders, but storages!
- OUString aName( m_aURL + OUString("/") + xRow->getString(1));
+ OUString aName( m_aURL + "/" + xRow->getString(1));
Reference< ::com::sun::star::ucb::XCommandEnvironment > xComEnv;
if ( m_bRepairPackage )