summaryrefslogtreecommitdiff
path: root/scripting/source/stringresource/stringresource.component
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-07-14 12:13:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-15 09:47:26 +0200
commitfd5531534dc1e2f90d33f1d0cf9c0fe2cb9fd6f5 (patch)
treefceb0fe5d1cf522b3822aa00e61e01426a9ff2fc /scripting/source/stringresource/stringresource.component
parent244de1fc0f3f201f56e739401ee3cc52f35deab4 (diff)
scripting/stringresource: create instances with uno constructors
See tdf#74608 for motivation. Change-Id: I3ad9af6cff62ee822ac5f0cfd4da12eb36bfb50f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98739 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/stringresource/stringresource.component')
-rw-r--r--scripting/source/stringresource/stringresource.component11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripting/source/stringresource/stringresource.component b/scripting/source/stringresource/stringresource.component
index e39e0f908882..a2b2a24f33b5 100644
--- a/scripting/source/stringresource/stringresource.component
+++ b/scripting/source/stringresource/stringresource.component
@@ -18,14 +18,17 @@
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
- prefix="stringresource" xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.scripting.StringResource">
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.scripting.StringResource"
+ constructor="scripting_StringResourcePersistenceImpl_implementation">
<service name="com.sun.star.resource.StringResource"/>
</implementation>
- <implementation name="com.sun.star.comp.scripting.StringResourceWithLocation">
+ <implementation name="com.sun.star.comp.scripting.StringResourceWithLocation"
+ constructor="scripting_StringResourceWithLocationImpl_get_implementation">
<service name="com.sun.star.resource.StringResourceWithLocation"/>
</implementation>
- <implementation name="com.sun.star.comp.scripting.StringResourceWithStorage">
+ <implementation name="com.sun.star.comp.scripting.StringResourceWithStorage"
+ constructor="scripting_StringResourceWithStorageImpl_get_implementation">
<service name="com.sun.star.resource.StringResourceWithStorage"/>
</implementation>
</component>