summaryrefslogtreecommitdiff
path: root/cui
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 /cui
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 'cui')
-rw-r--r--cui/source/customize/cfg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 54f745c29760..fc817d66bbee 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -5362,7 +5362,7 @@ void SvxIconSelectorDialog::ImportGraphics(
{
OUString aSourcePath( rPaths[0] );
if ( rPaths[0].lastIndexOf( '/' ) != rPaths[0].getLength() -1 )
- aSourcePath = rPaths[0] + OUString("/" );
+ aSourcePath = rPaths[0] + "/";
for ( sal_Int32 i = 1; i < rPaths.getLength(); ++i )
{
@@ -5414,7 +5414,7 @@ void SvxIconSelectorDialog::ImportGraphics(
OUString newLine("\n");
OUString fPath;
if (rejectedCount > 1)
- fPath = rPaths[0].copy(8) + OUString("/" );
+ fPath = rPaths[0].copy(8) + "/";
for ( sal_Int32 i = 0; i < rejectedCount; ++i )
{
message += fPath + rejected[i];