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 /desktop | |
parent | fc985c30048d410ab68a55af64f56df85547a6bf (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 'desktop')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 2 | ||||
-rw-r--r-- | desktop/source/migration/migration.cxx | 2 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index dd10ae00dfad..0ced6a11257c 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -625,7 +625,7 @@ void ExtensionBox_Impl::DrawRow( const Rectangle& rRect, const TEntry_Impl pEntr if ( !pEntry->m_sErrorText.isEmpty() ) { if ( pEntry->m_bActive ) - sDescription = pEntry->m_sErrorText + OUString("\n") + pEntry->m_sDescription; + sDescription = pEntry->m_sErrorText + "\n" + pEntry->m_sDescription; else sDescription = pEntry->m_sErrorText; } diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 974515f3822f..03e5743ee1b0 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -259,7 +259,7 @@ sal_Bool MigrationImpl::doMigration() continue; uno::Sequence< uno::Any > lArgs(2); - OUString aOldCfgDataPath = m_aInfo.userdata + OUString("/user/config/soffice.cfg/modules/"); + OUString aOldCfgDataPath = m_aInfo.userdata + "/user/config/soffice.cfg/modules/"; lArgs[0] <<= aOldCfgDataPath + vModulesInfo[i].sModuleShortName; lArgs[1] <<= embed::ElementModes::READ; diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index e268c0e23a14..dd35330a2c8f 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -369,9 +369,9 @@ void CommandEnvironmentImpl::update_( Any const & Status ) } if (bUseErr) - dp_misc::writeConsoleError(msg + OUString("\n")); + dp_misc::writeConsoleError(msg + "\n"); else - dp_misc::writeConsole(msg + OUString("\n")); + dp_misc::writeConsole(msg + "\n"); } //______________________________________________________________________________ |