diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-13 09:29:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-17 11:49:03 +0200 |
commit | 08fe82e59cbc598d2683d72877653316c1e41962 (patch) | |
tree | 5eeace3006ef2bfd58a5d97a000f336b8b06099c /xmlscript | |
parent | should be a l10n target (diff) | |
download | core-08fe82e59cbc598d2683d72877653316c1e41962.tar.gz core-08fe82e59cbc598d2683d72877653316c1e41962.zip |
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 'xmlscript')
-rw-r--r-- | xmlscript/test/imexp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx index 41defc66b4d9..df4af5a4fc2a 100644 --- a/xmlscript/test/imexp.cxx +++ b/xmlscript/test/imexp.cxx @@ -67,7 +67,7 @@ Reference< XComponentContext > createInitialComponentContext( inst_dir.pData, &file_url.pData ); OSL_ASSERT( osl_File_E_None == rc ); - OUString unorc = file_url + OUString("/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("uno") ); + OUString unorc = file_url + ("/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("uno") ); return defaultBootstrap_InitialComponentContext( unorc ); } |