diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-06 09:37:16 +0100 |
commit | b8f0442fcab93d9f28bee3d216a244cc91288dab (patch) | |
tree | 9217ad56e0a1b5d285a7706597820798ac699740 /shell/source/backends | |
parent | 4ae8cd2fa3d38b0d3cf86e9c4f6734120cd42e72 (diff) |
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I7cf9fe48cf1c38a4327290e9393a5f88f3d4a97d
Diffstat (limited to 'shell/source/backends')
-rw-r--r-- | shell/source/backends/desktopbe/desktopbackend.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx index 146360220998..d8527f906da5 100644 --- a/shell/source/backends/desktopbe/desktopbackend.cxx +++ b/shell/source/backends/desktopbe/desktopbackend.cxx @@ -212,18 +212,15 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance( if ( desktop == "GNOME" ) { backend = createBackend( context, - OUString( - "com.sun.star.configuration.backend.GconfBackend")); + "com.sun.star.configuration.backend.GconfBackend"); } else if ( desktop == "KDE" ) { backend = createBackend( context, - OUString( - "com.sun.star.configuration.backend.KDEBackend")); + "com.sun.star.configuration.backend.KDEBackend"); } else if ( desktop == "KDE4" ) { backend = createBackend( context, - OUString( - "com.sun.star.configuration.backend.KDE4Backend")); + "com.sun.star.configuration.backend.KDE4Backend"); } return backend.is() ? backend : static_cast< cppu::OWeakObject * >(new Default); |