From 1afb790a118f07e888f7a1a94a8fd06d0d8713dd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 12 Jun 2015 16:04:07 +0200 Subject: inline COMPHELPER_SERVICEDECL_ macro it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92 --- .../source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx | 7 ++++++- slideshow/source/engine/slideshowimpl.cxx | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'slideshow') 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: */ -- cgit