summaryrefslogtreecommitdiff
path: root/vbahelper
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 /vbahelper
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 'vbahelper')
-rw-r--r--vbahelper/source/msforms/service.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vbahelper/source/msforms/service.cxx b/vbahelper/source/msforms/service.cxx
index 7320f16523dc..12c6f9b4ad91 100644
--- a/vbahelper/source/msforms/service.cxx
+++ b/vbahelper/source/msforms/service.cxx
@@ -44,8 +44,8 @@ extern "C"
const sal_Char * pImplName, void *, void *)
{
SAL_INFO("vbahelper", "In component_getFactory for " << pImplName );
- void* pRet = component_getFactoryHelper(
- pImplName, controlprovider::serviceDecl, userform::serviceDecl );
+ void* pRet = sdecl::component_getFactoryHelper(
+ pImplName, {&controlprovider::serviceDecl, &userform::serviceDecl} );
SAL_INFO("vbahelper", "Ret is 0x" << std::hex << pRet);
return pRet;
}