diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-06-08 13:35:11 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-06-08 17:08:06 +0200 |
commit | c7a9a1dbe2b30afb564953ce1e856b95e3ec9436 (patch) | |
tree | 2ee177cda58e457bc0fbdedcf792cc7d8e1b362b /eventattacher | |
parent | af8dc07bfdf5d6e7bd2278305cd39ed269e50ed7 (diff) |
Simplify Sequences initializations (desktop/e*/filter/forms/formula/fpicker)
includes removing of unused TOKEN_SEP
Change-Id: Ic72d9d94bd8d07232699ee4d948f3b203d524491
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116833
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'eventattacher')
-rw-r--r-- | eventattacher/source/eventattacher.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index 399062a530af..8a3b3af93338 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -96,8 +96,7 @@ static Reference< XInterface > createAllListenerAdapter Reference< XInvocation > xInvocationToAllListenerMapper = new InvocationToAllListenerMapper(xListenerType, xListener, Helper); Type aListenerType( xListenerType->getTypeClass(), xListenerType->getName()); - Sequence<Type> arg2(1); - arg2[0] = aListenerType; + Sequence<Type> arg2 { aListenerType }; xAdapter = xInvocationAdapterFactory->createAdapter( xInvocationToAllListenerMapper, arg2 ); } return xAdapter; |