summaryrefslogtreecommitdiff
path: root/sd/util
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-07-26 16:16:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-26 17:10:24 +0200
commitc6046e915df2496357a84736ad6a1962394a6378 (patch)
tree351d58f366556d8cdc580685f3c87af4ceffe1d4 /sd/util
parent31b8db1d143b25400e307030f9672a556e69573a (diff)
sd: create instances with uno constructors
See tdf#74608 for motivation. Change-Id: I92d19e8f01f759568756af85f2d76c226948ef68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99457 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/util')
-rw-r--r--sd/util/sd.component8
1 files changed, 5 insertions, 3 deletions
diff --git a/sd/util/sd.component b/sd/util/sd.component
index fb70297d12f9..f1937a04873a 100644
--- a/sd/util/sd.component
+++ b/sd/util/sd.component
@@ -18,8 +18,9 @@
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
- prefix="sd" xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.Draw.DrawingDocument">
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.Draw.DrawingDocument"
+ constructor="sd_DrawingDocument_get_implementation">
<service name="com.sun.star.drawing.DrawingDocument"/>
<service name="com.sun.star.drawing.DrawingDocumentFactory"/>
</implementation>
@@ -27,7 +28,8 @@
constructor="com_sun_star_comp_Draw_DrawingModule_get_implementation">
<service name="com.sun.star.drawing.ModuleDispatcher"/>
</implementation>
- <implementation name="com.sun.star.comp.Draw.PresentationDocument">
+ <implementation name="com.sun.star.comp.Draw.PresentationDocument"
+ constructor="sd_PresentationDocument_get_implementation">
<service name="com.sun.star.drawing.DrawingDocumentFactory"/>
<service name="com.sun.star.presentation.PresentationDocument"/>
</implementation>