summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-20 13:39:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-20 13:39:52 +0100
commitb8793748b0eaaa3fe405587fcb2a3021adab833b (patch)
tree39b683691a8b8089831939a3a84ba1d62d614cb5 /sw
parente3990370f832c8a69d1b6b22ec315dc0616d5535 (diff)
Seems more natural to pass a homogenous list by initializer_list
...than by template parameter pack (even if that requires using ServiceDecl*, as initializer_list cannot take reference types) Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/vba/service.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/service.cxx b/sw/source/ui/vba/service.cxx
index a23f1a77e388..d39ab2bf2749 100644
--- a/sw/source/ui/vba/service.cxx
+++ b/sw/source/ui/vba/service.cxx
@@ -52,9 +52,9 @@ extern sdecl::ServiceDecl const serviceDecl;
extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL vbaswobj_component_getFactory(
const sal_Char * pImplName, void *, void *)
{
- void* pRet = component_getFactoryHelper(pImplName,
- globals::serviceDecl, ::document::serviceDecl,
- wrapformat::serviceDecl, vbaeventshelper::serviceDecl );
+ void* pRet = sdecl::component_getFactoryHelper(pImplName,
+ {&globals::serviceDecl, &::document::serviceDecl,
+ &wrapformat::serviceDecl, &vbaeventshelper::serviceDecl} );
OSL_TRACE("Ret is 0x%p", pRet);
return pRet;
}