diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-05 18:03:25 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-07 05:57:17 +0000 |
commit | 70f87284c6ce77a49b1fac1431cea206f4b1dfa9 (patch) | |
tree | f979810ab0761169d094385940612aa1477056d6 /framework | |
parent | 37a6bafea8416541d7d250d66a9e951400b197a3 (diff) |
improve defaultparams loplugin
to catch calling params with defaults like "= OUSString()"
Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9
Reviewed-on: https://gerrit.libreoffice.org/22932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/menubarmerger.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/menubarmerger.cxx b/framework/source/uielement/menubarmerger.cxx index 1a95812a87fa..47514143a0dd 100644 --- a/framework/source/uielement/menubarmerger.cxx +++ b/framework/source/uielement/menubarmerger.cxx @@ -337,7 +337,7 @@ bool MenuBarMerger::ProcessFallbackOperation( if ( IsCorrectContext( rMenuItem.aContext, rModuleIdentifier )) { if ( rMenuItem.aURL == SEPARATOR_STRING ) - pCurrMenu->InsertSeparator(OString()); + pCurrMenu->InsertSeparator(); else { pCurrMenu->InsertItem(rItemId, rMenuItem.aTitle); |