diff options
author | Noel Grandin <noel@peralex.com> | 2015-06-12 16:04:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-15 09:46:14 +0200 |
commit | 1afb790a118f07e888f7a1a94a8fd06d0d8713dd (patch) | |
tree | b82bee79e3dd74f7a5b8ae7387ccb002b0de1831 /slideshow | |
parent | c3a8adb2e06888fc237aa6e3d43c32d805a46537 (diff) |
inline COMPHELPER_SERVICEDECL_ macro
it was not adding any value
Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 7 | ||||
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 50a89061af9a..b9816193611a 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -1538,6 +1538,11 @@ namespace sdecl = comphelper::service_decl; "com.sun.star.presentation.TransitionFactory" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(ogltrans, OGLTransitionFactoryDecl) +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL ogltrans_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return 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 98d74146908f..9b4dd4a0f6eb 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -2470,6 +2470,11 @@ const sdecl::ServiceDecl slideShowDecl( "com.sun.star.presentation.SlideShow" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(slideshow, slideShowDecl) +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL slideshow_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, slideShowDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |