summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/factories/BasicViewFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/factories/BasicViewFactory.cxx')
-rw-r--r--sd/source/ui/framework/factories/BasicViewFactory.cxx28
1 files changed, 10 insertions, 18 deletions
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.cxx b/sd/source/ui/framework/factories/BasicViewFactory.cxx
index 2558510e6817..10fe98d14b2d 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.cxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.cxx
@@ -52,24 +52,6 @@ using ::sd::framework::FrameworkHelper;
namespace sd { namespace framework {
-Reference<XInterface> SAL_CALL BasicViewFactory_createInstance (
- const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
-{
- return Reference<XInterface>(static_cast<XWeak*>(new BasicViewFactory(rxContext)));
-}
-
-OUString BasicViewFactory_getImplementationName (void) throw(RuntimeException)
-{
- return OUString("com.sun.star.comp.Draw.framework.BasicViewFactory");
-}
-
-Sequence<OUString> SAL_CALL BasicViewFactory_getSupportedServiceNames (void)
- throw (RuntimeException)
-{
- static const OUString sServiceName("com.sun.star.drawing.framework.BasicViewFactory");
- return Sequence<OUString>(&sServiceName, 1);
-}
-
//===== ViewDescriptor ========================================================
class BasicViewFactory::ViewDescriptor
@@ -550,4 +532,14 @@ void BasicViewFactory::ActivateCenterView (
} } // end of namespace sd::framework
+
+extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL
+com_sun_star_comp_Draw_framework_BasicViewFactory_get_implementation(::com::sun::star::uno::XComponentContext* context,
+ ::com::sun::star::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new sd::framework::BasicViewFactory(context));
+}
+
+
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */