diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-15 11:05:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:31 +0200 |
commit | 610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch) | |
tree | 6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /shell | |
parent | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff) |
remove unnecessary use of OUString constructor when assigning
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 2 | ||||
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.cxx | 2 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index 35f43d4e2c05..02bdc97eef5c 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -321,7 +321,7 @@ OUString SAL_CALL LocaleBackend::getImplementationName(void) uno::Sequence<OUString> SAL_CALL LocaleBackend::getBackendServiceNames(void) { uno::Sequence<OUString> aServiceNameList(1); - aServiceNameList[0] = OUString( "com.sun.star.configuration.backend.LocaleBackend") ; + aServiceNameList[0] = "com.sun.star.configuration.backend.LocaleBackend"; return aServiceNameList ; } diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx index 69b8f28a8e24..2feac4964849 100644 --- a/shell/source/backends/wininetbe/wininetbackend.cxx +++ b/shell/source/backends/wininetbe/wininetbackend.cxx @@ -377,7 +377,7 @@ OUString SAL_CALL WinInetBackend::getImplementationName(void) uno::Sequence<OUString> SAL_CALL WinInetBackend::getBackendServiceNames(void) { uno::Sequence<OUString> aServiceNameList(1); - aServiceNameList[0] = OUString( "com.sun.star.configuration.backend.WinInetBackend") ; + aServiceNameList[0] = "com.sun.star.configuration.backend.WinInetBackend"; return aServiceNameList ; } diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index a3a91338eecc..574223d8e87c 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -101,9 +101,9 @@ namespace /* private */ { OUString senddocUrl = getAlternativeSenddocUrl(); - if (senddocUrl.getLength() == 0) + if (senddocUrl.isEmpty()) { - senddocUrl = OUString( "$BRAND_BASE_DIR/" LIBO_LIBEXEC_FOLDER "/senddoc.exe"); + senddocUrl = ( "$BRAND_BASE_DIR/" LIBO_LIBEXEC_FOLDER "/senddoc.exe"); rtl::Bootstrap::expandMacros(senddocUrl); //TODO: detect failure } return senddocUrl; |