summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-07-30 17:48:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-07-31 12:54:55 +0200
commit90294b464d0e5acf21cb152babb11d7f96ecf5d7 (patch)
tree0c27bf7d6e4809bfccaee781fd780be2f303a4e5 /shell
parent9a33b501b3eb82d8ec08b391c35efa44a3723a2f (diff)
Improved loplugin:stringconstant (now that GCC 7 supports it): shell
Change-Id: I0045eac5f2395f56dcb1ed8a958c93c28de496a9 Reviewed-on: https://gerrit.libreoffice.org/76647 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/desktopbe/desktopbackend.cxx4
-rw-r--r--shell/source/backends/kf5be/kf5backend.cxx2
-rw-r--r--shell/source/backends/localebe/localebackend.cxx2
-rw-r--r--shell/source/cmdmail/cmdmailsuppl.cxx2
-rw-r--r--shell/source/unix/exec/shellexec.cxx2
5 files changed, 6 insertions, 6 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx
index 2872438d4f96..03fe834506b9 100644
--- a/shell/source/backends/desktopbe/desktopbackend.cxx
+++ b/shell/source/backends/desktopbe/desktopbackend.cxx
@@ -58,8 +58,8 @@
namespace {
OUString getDefaultImplementationName() {
- return OUString(
- "com.sun.star.comp.configuration.backend.DesktopBackend");
+ return
+ "com.sun.star.comp.configuration.backend.DesktopBackend";
}
css::uno::Sequence< OUString > getDefaultSupportedServiceNames() {
diff --git a/shell/source/backends/kf5be/kf5backend.cxx b/shell/source/backends/kf5be/kf5backend.cxx
index 182d24893456..a2cae6c6c4fd 100644
--- a/shell/source/backends/kf5be/kf5backend.cxx
+++ b/shell/source/backends/kf5be/kf5backend.cxx
@@ -58,7 +58,7 @@ namespace
{
OUString getServiceImplementationName()
{
- return OUString("com.sun.star.comp.configuration.backend.KF5Backend");
+ return "com.sun.star.comp.configuration.backend.KF5Backend";
}
css::uno::Sequence<OUString> getServiceSupportedServiceNames()
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index 3cb381a721a9..191c5940980e 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -316,7 +316,7 @@ css::uno::Any LocaleBackend::getPropertyValue(
OUString LocaleBackend::getBackendName() {
- return OUString("com.sun.star.comp.configuration.backend.LocaleBackend") ;
+ return "com.sun.star.comp.configuration.backend.LocaleBackend" ;
}
OUString SAL_CALL LocaleBackend::getImplementationName()
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx
index b4e4322a2ff2..df8e1f5c170e 100644
--- a/shell/source/cmdmail/cmdmailsuppl.cxx
+++ b/shell/source/cmdmail/cmdmailsuppl.cxx
@@ -283,7 +283,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM
OUString SAL_CALL CmdMailSuppl::getImplementationName( )
{
- return OUString("com.sun.star.comp.system.SimpleCommandMail");
+ return "com.sun.star.comp.system.SimpleCommandMail";
}
sal_Bool SAL_CALL CmdMailSuppl::supportsService( const OUString& ServiceName )
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx
index febf7cdf947c..1e669b695e1d 100644
--- a/shell/source/unix/exec/shellexec.cxx
+++ b/shell/source/unix/exec/shellexec.cxx
@@ -237,7 +237,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar
OUString SAL_CALL ShellExec::getImplementationName( )
{
- return OUString("com.sun.star.comp.system.SystemShellExecute");
+ return "com.sun.star.comp.system.SystemShellExecute";
}
sal_Bool SAL_CALL ShellExec::supportsService( const OUString& ServiceName )