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>
This commit is contained in:
Noel Grandin
2016-03-05 18:03:25 +02:00
committed by Noel Grandin
parent 37a6bafea8
commit 70f87284c6
42 changed files with 107 additions and 119 deletions

View File

@@ -93,9 +93,7 @@ cppu::defaultBootstrap_InitialComponentContext(rtl::OUString const & iniUri)
true));
assert(!context_values.empty());
css::uno::Reference< css::uno::XComponentContext > context(
createComponentContext(
&context_values[0], context_values.size(),
css::uno::Reference< css::uno::XComponentContext >()));
createComponentContext(&context_values[0], context_values.size()));
smgr->setContext(context);
cppu::installTypeDescriptionManager(tmgr.get());
return context;