summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-04 14:05:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-04 14:05:52 +0100
commitb82f36ab63e0f532d850f38dc930d2bdca7d47bc (patch)
tree7a63d071d98d41fba7d2233e253764e504f9bb7a /shell
parentc3b48b26a09e53aac973c3669b9faec6d784665e (diff)
loplugin:stringconstant
Change-Id: Ib579c499904bf10844ed58dfd3e531002b308dcf
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/kde4be/kde4backend.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx
index 35f57f6af98e..5577fdc74c72 100644
--- a/shell/source/backends/kde4be/kde4backend.cxx
+++ b/shell/source/backends/kde4be/kde4backend.cxx
@@ -145,9 +145,7 @@ Service::Service(): enabled_(false) {
css::uno::getCurrentContext());
if (context.is()) {
OUString desktop;
- context->getValueByName(
- OUString("system.desktop-environment")) >>=
- desktop;
+ context->getValueByName("system.desktop-environment") >>= desktop;
enabled_ = desktop == "KDE4" && KApplication::kApplication() != 0;
}
}