From 70f87284c6ce77a49b1fac1431cea206f4b1dfa9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 5 Mar 2016 18:03:25 +0200 Subject: improve defaultparams loplugin to catch calling params with defaults like "= OUSString()" Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9 Reviewed-on: https://gerrit.libreoffice.org/22932 Tested-by: Jenkins Reviewed-by: Noel Grandin --- framework/source/uielement/menubarmerger.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') 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); -- cgit