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:
committed by
Noel Grandin
parent
37a6bafea8
commit
70f87284c6
@@ -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;
|
||||
|
Reference in New Issue
Block a user