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 --- cppcanvas/source/uno/uno_mtfrenderer.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cppcanvas') diff --git a/cppcanvas/source/uno/uno_mtfrenderer.cxx b/cppcanvas/source/uno/uno_mtfrenderer.cxx index ba220ab08342..5360c618a2c9 100644 --- a/cppcanvas/source/uno/uno_mtfrenderer.cxx +++ b/cppcanvas/source/uno/uno_mtfrenderer.cxx @@ -52,6 +52,11 @@ namespace sdecl = comphelper::service_decl; "com.sun.star.rendering.MtfRenderer" ); // The C shared lib entry points -COMPHELPER_SERVICEDECL_EXPORTS1(mtfrenderer, MtfRendererDecl) +extern "C" +SAL_DLLPUBLIC_EXPORT void* SAL_CALL mtfrenderer_component_getFactory( sal_Char const* pImplName, + void*, void* ) +{ + return component_getFactoryHelper( pImplName, MtfRendererDecl ); +} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit