summaryrefslogtreecommitdiffstats
path: root/canvas/source/simplecanvas/simplecanvasimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/simplecanvas/simplecanvasimpl.cxx')
-rw-r--r--canvas/source/simplecanvas/simplecanvasimpl.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/canvas/source/simplecanvas/simplecanvasimpl.cxx b/canvas/source/simplecanvas/simplecanvasimpl.cxx
index f41ee45269f2..ea61bb49f703 100644
--- a/canvas/source/simplecanvas/simplecanvasimpl.cxx
+++ b/canvas/source/simplecanvas/simplecanvasimpl.cxx
@@ -398,6 +398,14 @@ namespace
}
// The C shared lib entry points
-COMPHELPER_SERVICEDECL_EXPORTS1(simpleCanvasDecl)
+extern "C"
+{
+SAL_DLLPUBLIC_EXPORT void* SAL_CALL simplecanvas_component_getFactory( sal_Char const* pImplName,
+ ::com::sun::star::lang::XMultiServiceFactory* pServiceManager,
+ ::com::sun::star::registry::XRegistryKey* pRegistryKey )
+{
+ return component_getFactoryHelper( pImplName, pServiceManager, pRegistryKey, simpleCanvasDecl );
+}
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */