summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
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 'extensions')
-rw-r--r--extensions/source/resource/resourceservices.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/resource/resourceservices.cxx b/extensions/source/resource/resourceservices.cxx
index 3a8206dc08c1..fea575e0ad3c 100644
--- a/extensions/source/resource/resourceservices.cxx
+++ b/extensions/source/resource/resourceservices.cxx
@@ -32,8 +32,8 @@ const sdecl::ServiceDecl OpenOfficeResourceLoaderDecl(
extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL res_component_getFactory(
sal_Char const* pImplName, void*, void*)
{
- return component_getFactoryHelper( pImplName,
- ResourceIndexAccessDecl, OpenOfficeResourceLoaderDecl );
+ return sdecl::component_getFactoryHelper( pImplName,
+ {&ResourceIndexAccessDecl, &OpenOfficeResourceLoaderDecl} );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */