scripting/protocolhandler: create instances with uno constructors

See tdf#74608 for motivation.

Change-Id: I5618d68317a24bfe92dc166ffc81dcf5ffeba1e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98740
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2020-07-15 10:08:08 +02:00
parent 0c688d3491
commit b2835b2a65
3 changed files with 8 additions and 82 deletions
@@ -18,8 +18,9 @@
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
prefix="protocolhandler" xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.ScriptProtocolHandler">
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.ScriptProtocolHandler"
constructor="scripting_ScriptProtocolHandler_get_implementation">
<service name="com.sun.star.frame.ProtocolHandler"/>
</implementation>
</component>