summaryrefslogtreecommitdiff
path: root/canvas/source/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r--canvas/source/vcl/services.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/canvas/source/vcl/services.cxx b/canvas/source/vcl/services.cxx
index 2b5fbe42b592..1b59bb590623 100644
--- a/canvas/source/vcl/services.cxx
+++ b/canvas/source/vcl/services.cxx
@@ -86,14 +86,6 @@ namespace vclcanvas
}
// The C shared lib entry points
-extern "C"
-{
-SAL_DLLPUBLIC_EXPORT void* SAL_CALL vclcanvas_component_getFactory( sal_Char const* pImplName,
- ::com::sun::star::lang::XMultiServiceFactory* pServiceManager,
- ::com::sun::star::registry::XRegistryKey* pRegistryKey )
-{
- return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, vclcanvas::vclCanvasDecl, vclcanvas::vclSpriteCanvasDecl );
-}
-}
+COMPHELPER_SERVICEDECL_EXPORTS2(vclcanvas, vclcanvas::vclCanvasDecl, vclcanvas::vclSpriteCanvasDecl)
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */