diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 16:04:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 16:04:43 +0100 |
commit | f28420515c380de646db507be92312e26afaffcb (patch) | |
tree | 946833c884854dbe4f2d8c21aeb1cb4f0c86b7f1 /sfx2/source | |
parent | ec5250dcc63f5c83c9747bbd7e2aae57291a5e8e (diff) |
loplugin:stringconstant
Change-Id: Ia0a89419fffb9081df7da4696c3ec21ef3f0256b
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/ResourceManager.cxx | 2 |
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; |