summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/configuration/ResourceId.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/configuration/ResourceId.cxx')
-rw-r--r--sd/source/ui/framework/configuration/ResourceId.cxx29
1 files changed, 10 insertions, 19 deletions
diff --git a/sd/source/ui/framework/configuration/ResourceId.cxx b/sd/source/ui/framework/configuration/ResourceId.cxx
index d862a53a75f0..623f4a500162 100644
--- a/sd/source/ui/framework/configuration/ResourceId.cxx
+++ b/sd/source/ui/framework/configuration/ResourceId.cxx
@@ -43,25 +43,6 @@ using namespace ::com::sun::star::drawing::framework;
namespace sd { namespace framework {
-Reference<XInterface> SAL_CALL ResourceId_createInstance (
- const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
-{
- (void)rxContext;
- return Reference<XInterface>(static_cast<XWeak*>(new ::sd::framework::ResourceId()));
-}
-
-OUString ResourceId_getImplementationName (void) throw(RuntimeException)
-{
- return OUString("com.sun.star.comp.Draw.framework.ResourceId");
-}
-
-Sequence<OUString> SAL_CALL ResourceId_getSupportedServiceNames (void)
- throw (RuntimeException)
-{
- static const OUString sServiceName("com.sun.star.drawing.framework.ResourceId");
- return Sequence<OUString>(&sServiceName, 1);
-}
-
//===== ResourceId ============================================================
WeakReference<util::XURLTransformer> ResourceId::mxURLTransformerWeak;
@@ -520,4 +501,14 @@ void ResourceId::ParseResourceURL (void)
} } // end of namespace sd::framework
+
+extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL
+com_sun_star_comp_Draw_framework_ResourceID_get_implementation(::com::sun::star::uno::XComponentContext*,
+ ::com::sun::star::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new sd::framework::ResourceId());
+}
+
+
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */