diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 13:39:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 13:39:52 +0100 |
commit | b8793748b0eaaa3fe405587fcb2a3021adab833b (patch) | |
tree | 39b683691a8b8089831939a3a84ba1d62d614cb5 /slideshow | |
parent | e3990370f832c8a69d1b6b22ec315dc0616d5535 (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 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 4244d9c0b1ca..653577d5e76e 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -1569,7 +1569,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName, void*, void* ) { - return component_getFactoryHelper( pImplName, OGLTransitionFactoryDecl ); + return sdecl::component_getFactoryHelper( pImplName, {&OGLTransitionFactoryDecl} ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index 943c5400d17c..df655d8760d7 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -2422,7 +2422,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL slideshow_component_getFactory( sal_Char const* pImplName, void*, void* ) { - return component_getFactoryHelper( pImplName, slideShowDecl ); + return sdecl::component_getFactoryHelper( pImplName, {&slideShowDecl} ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |