diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:16:55 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 14:18:10 +0100 |
commit | 5bb4a2ba1d8a6b98720868786e552aa8fd2a22eb (patch) | |
tree | f891d796fa21c5bfb941eaa4a3f0c05a7e179cc6 /svx | |
parent | 2633b249ea6921645c57ab24a1c9ad0c8e61e144 (diff) |
further OUString cleanup
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/docrecovery.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/recoveryui.cxx | 4 | ||||
-rw-r--r-- | svx/workben/msview/xmlconfig.cxx | 11 |
3 files changed, 8 insertions, 9 deletions
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx index e87fb8749379..103599dac6b9 100644 --- a/svx/source/dialog/docrecovery.cxx +++ b/svx/source/dialog/docrecovery.cxx @@ -1945,7 +1945,7 @@ void BrokenRecoveryDialog::impl_askForSavePath() Bootstrap::expandMacros( ustrValue ); #if defined(WNT) - ustrValue += OUString("/user/crashdata"); + ustrValue += "/user/crashdata"; #endif return ustrValue; } diff --git a/svx/source/unodraw/recoveryui.cxx b/svx/source/unodraw/recoveryui.cxx index 164457e458da..324b4a45800b 100644 --- a/svx/source/unodraw/recoveryui.cxx +++ b/svx/source/unodraw/recoveryui.cxx @@ -184,7 +184,7 @@ static OUString GetCrashConfigDir() Bootstrap::expandMacros( ustrValue ); #if defined(WNT) - ustrValue += OUString("/user/crashdata"); + ustrValue += "/user/crashdata"; #endif return ustrValue; } @@ -202,7 +202,7 @@ static OUString GetUnsentURL() { OUString aURL = GetCrashConfigDir(); - aURL += OUString( "/" ); + aURL += "/"; aURL += OUString( LCKFILE ); return aURL; diff --git a/svx/workben/msview/xmlconfig.cxx b/svx/workben/msview/xmlconfig.cxx index 7f46b7325786..1b2cbdf51e8f 100644 --- a/svx/workben/msview/xmlconfig.cxx +++ b/svx/workben/msview/xmlconfig.cxx @@ -344,8 +344,7 @@ rtl::OUString ElementConfig::format( SvStream& rStream, sal_Size& nLength ) cons OUString aRet; if( maName.getLength() ) { - aRet += maName; - aRet += OUString( " = " ); + aRet += maName + " = "; } switch( mnType ) @@ -387,10 +386,10 @@ rtl::OUString ElementConfig::dump_hex( SvStream& rStream, sal_Size& nLength ) if( (nRow == 16) || (nLength==0) ) { while( aHex.getLength() < (16*3) ) - aHex += OUString( " " ); + aHex += " "; aOut += aHex; aOut += aAscii; - aOut += OUString( "\n\r" ); + aOut += "\n\r"; aHex = aEmpty; aAscii = aEmpty; nRow = 0; @@ -476,7 +475,7 @@ rtl::OUString ElementConfigContainer::format( SvStream& rStream, sal_Size& nLeng { aRet += (*aIter++)->format( rStream, nLength ); if( (aIter != aEnd) || (nLength != 0) ) - aRet += OUString( "\n\r" ); + aRet += "\n\r"; } if( nLength ) @@ -486,7 +485,7 @@ rtl::OUString ElementConfigContainer::format( SvStream& rStream, sal_Size& nLeng { aRet = getName(); if( aRet.getLength() ) - aRet += OUString( " = " ); + aRet += " = "; OUString aValue; switch( getType() ) |