diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-07-11 15:06:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-11 18:33:18 +0200 |
commit | 92cccb9a7ead4a7f106db8c79e142013dd214441 (patch) | |
tree | dde6256f36ac09067bae754d85ceafb57c166811 /dtrans/util | |
parent | 45c8885705afd585b1d59bf793ceaa39abef3eae (diff) |
dtrans/mcnttype: create instances with uno constructors
See tdf#74608 for motivation.
Also drop mutex, no need to lock when we're just constructing
something.
Change-Id: I5e845ae2fbb03fc4f38d0ee85b2061891fa0993f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98560
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dtrans/util')
-rw-r--r-- | dtrans/util/mcnttype.component | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dtrans/util/mcnttype.component b/dtrans/util/mcnttype.component index faca00cefcda..077181d422b0 100644 --- a/dtrans/util/mcnttype.component +++ b/dtrans/util/mcnttype.component @@ -18,8 +18,9 @@ --> <component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" - prefix="mcnttype" xmlns="http://openoffice.org/2010/uno-components"> - <implementation name="com.sun.star.datatransfer.MimeCntTypeFactory"> + xmlns="http://openoffice.org/2010/uno-components"> + <implementation name="com.sun.star.datatransfer.MimeCntTypeFactory" + constructor="dtrans_CMimeContentTypeFactory_get_implementation"> <service name="com.sun.star.datatransfer.MimeContentTypeFactory"/> </implementation> </component> |