diff options
Diffstat (limited to 'sd/source/ui/framework/configuration/Configuration.cxx')
-rw-r--r-- | sd/source/ui/framework/configuration/Configuration.cxx | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/sd/source/ui/framework/configuration/Configuration.cxx b/sd/source/ui/framework/configuration/Configuration.cxx index eb4c353a3746..493834c6e5ab 100644 --- a/sd/source/ui/framework/configuration/Configuration.cxx +++ b/sd/source/ui/framework/configuration/Configuration.cxx @@ -53,27 +53,6 @@ public: ResourceContainer (void) {} }; -//----- Service --------------------------------------------------------------- - -Reference<XInterface> SAL_CALL Configuration_createInstance ( - const Reference<XComponentContext>& rxContext) throw (css::uno::Exception) -{ - (void)rxContext; - return Reference<XInterface>(static_cast<XWeak*>(new Configuration(NULL,false))); -} - -OUString Configuration_getImplementationName (void) throw(RuntimeException) -{ - return OUString("com.sun.star.comp.Draw.framework.configuration.Configuration"); -} - -Sequence<OUString> SAL_CALL Configuration_getSupportedServiceNames (void) - throw (RuntimeException) -{ - static const OUString sServiceName("com.sun.star.drawing.framework.Configuration"); - return Sequence<OUString>(&sServiceName, 1); -} - //===== Configuration ========================================================= Configuration::Configuration ( @@ -337,4 +316,15 @@ bool AreConfigurationsEquivalent ( } } // end of namespace sd::framework + +extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL +com_sun_star_comp_Draw_framework_configuration_Configuration_get_implementation( + ::com::sun::star::uno::XComponentContext*, + ::com::sun::star::uno::Sequence<css::uno::Any> const &) +{ + return cppu::acquire(new sd::framework::Configuration(NULL, false)); +} + + + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |