summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-20 16:04:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-20 16:04:43 +0100
commitf28420515c380de646db507be92312e26afaffcb (patch)
tree946833c884854dbe4f2d8c21aeb1cb4f0c86b7f1
parentec5250dcc63f5c83c9747bbd7e2aae57291a5e8e (diff)
loplugin:stringconstant
Change-Id: Ia0a89419fffb9081df7da4696c3ec21ef3f0256b
-rw-r--r--sfx2/source/sidebar/ResourceManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx
index 97268e5a7bd0..b46b2573f107 100644
--- a/sfx2/source/sidebar/ResourceManager.cxx
+++ b/sfx2/source/sidebar/ResourceManager.cxx
@@ -76,7 +76,7 @@ css::uno::Sequence<OUString> BuildContextList (ContextList rContextList, bool is
OUString element = appName + ", " + contextName +", " + visibility;
- if (menuCommand != "")
+ if (!menuCommand.isEmpty())
element += ", "+menuCommand;
result[i] = element;