[Libreoffice-commits] core.git: shell/source
Stephan Bergmann
sbergman at redhat.com
Wed Nov 4 05:06:15 PST 2015
shell/source/backends/kde4be/kde4backend.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit b82f36ab63e0f532d850f38dc930d2bdca7d47bc
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Nov 4 14:05:33 2015 +0100
loplugin:stringconstant
Change-Id: Ib579c499904bf10844ed58dfd3e531002b308dcf
diff --git a/shell/source/backends/kde4be/kde4backend.cxx b/shell/source/backends/kde4be/kde4backend.cxx
index 35f57f6..5577fdc 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;
}
}
More information about the Libreoffice-commits
mailing list