diff options
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 4 | ||||
-rw-r--r-- | shell/source/backends/macbe/macbackend.mm | 2 | ||||
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index 99b9e99aa9b9..1a8da7bf2fcd 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -284,12 +284,12 @@ css::uno::Any LocaleBackend::getPropertyValue( return css::uno::makeAny( css::beans::Optional< css::uno::Any >( true, css::uno::makeAny(getLocale()))); - } else if (PropertyName.equals("SystemLocale")) + } else if (PropertyName == "SystemLocale") { return css::uno::makeAny( css::beans::Optional< css::uno::Any >( true, css::uno::makeAny(getSystemLocale()))); - } else if (PropertyName.equals("UILocale")) + } else if (PropertyName == "UILocale") { return css::uno::makeAny( css::beans::Optional< css::uno::Any >( diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm index fb0af6a9bb9e..cd1466575d3e 100644 --- a/shell/source/backends/macbe/macbackend.mm +++ b/shell/source/backends/macbe/macbackend.mm @@ -452,7 +452,7 @@ rtl::OUString SAL_CALL MacOSXBackend::getImplementationName(void) uno::Sequence<rtl::OUString> SAL_CALL MacOSXBackend::getBackendServiceNames(void) { uno::Sequence<rtl::OUString> aServiceNameList(1); - aServiceNameList[0] = rtl::OUString( "com.sun.star.configuration.backend.MacOSXBackend"); + aServiceNameList[0] = "com.sun.star.configuration.backend.MacOSXBackend"; return aServiceNameList; } diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index c56e45b02c46..34bef4081f24 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -134,7 +134,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar if ( aURL.isEmpty() && !aCommand.isEmpty() ) { throw RuntimeException( - OUString("Cannot translate URI reference to external format: ") + "Cannot translate URI reference to external format: " + aCommand, static_cast< cppu::OWeakObject * >(this)); } @@ -224,8 +224,8 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar } else if ((nFlags & css::system::SystemShellExecuteFlags::URIS_ONLY) != 0) { throw css::lang::IllegalArgumentException( - OUString("XSystemShellExecute.execute URIS_ONLY with non-absolute" - " URI reference ") + "XSystemShellExecute.execute URIS_ONLY with non-absolute" + " URI reference " + aCommand, static_cast< cppu::OWeakObject * >(this), 0); } else { |