summaryrefslogtreecommitdiffstats
path: root/scripting/source/vbaevents/eventhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/vbaevents/eventhelper.cxx')
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx23
1 files changed, 17 insertions, 6 deletions
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index a9e970dc964d..babe1cb35cb4 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -1080,12 +1080,6 @@ namespace ooevtdescgen
return OUString( "ooo.vba.VBAToOOEventDesc" );
}
- uno::Reference< XInterface > SAL_CALL create(
- Reference< XComponentContext > const & xContext )
- {
- return static_cast< lang::XTypeProvider * >( new VBAToOOEventDescGen( xContext ) );
- }
-
Sequence< OUString > SAL_CALL getSupportedServiceNames()
{
const OUString strName( ::ooevtdescgen::getImplementationName() );
@@ -1093,4 +1087,21 @@ namespace ooevtdescgen
}
}
+
+extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL
+ooo_vba_EventListener_get_implementation(::com::sun::star::uno::XComponentContext* context,
+ ::com::sun::star::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new EventListener(context));
+}
+
+
+extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL
+ooo_vba_VBAToOOEventDesc_get_implementation(::com::sun::star::uno::XComponentContext* context,
+ ::com::sun::star::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new VBAToOOEventDescGen(context));
+}
+
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */