summaryrefslogtreecommitdiff
path: root/cppcanvas/source/uno/uno_mtfrenderer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-12 16:04:07 +0200
committerNoel Grandin <noel@peralex.com>2015-06-15 09:46:14 +0200
commit1afb790a118f07e888f7a1a94a8fd06d0d8713dd (patch)
treeb82bee79e3dd74f7a5b8ae7387ccb002b0de1831 /cppcanvas/source/uno/uno_mtfrenderer.cxx
parentc3a8adb2e06888fc237aa6e3d43c32d805a46537 (diff)
inline COMPHELPER_SERVICEDECL_ macro
it was not adding any value Change-Id: I6a911aac81e883f9155ed0cf24bfb7904efb3f92
Diffstat (limited to 'cppcanvas/source/uno/uno_mtfrenderer.cxx')
-rw-r--r--cppcanvas/source/uno/uno_mtfrenderer.cxx7
1 files changed, 6 insertions, 1 deletions
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: */