summaryrefslogtreecommitdiff
path: root/unotools/util/utl.component
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2021-03-22 13:41:53 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-23 09:08:03 +0100
commitf4d195fdda834cb51912f97a72d3f7b8c72420ef (patch)
tree432d560c62915738fdbf07b2bed76873ab6382d1 /unotools/util/utl.component
parent109420d42027cc9d614117226abd72a2e9b8cdce (diff)
use single-use attribute for ServiceDocumenter
instead of rtl::Instance, which means it will get cleaned up when UNO shuts down Change-Id: I90f23e9439a7478e28cd466545ed498dfaf6e4de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112928 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/util/utl.component')
-rw-r--r--unotools/util/utl.component3
1 files changed, 2 insertions, 1 deletions
diff --git a/unotools/util/utl.component b/unotools/util/utl.component
index effef2146729..cd31d1c3e3cc 100644
--- a/unotools/util/utl.component
+++ b/unotools/util/utl.component
@@ -24,7 +24,8 @@
<service name="com.sun.star.io.TempFile"/>
</implementation>
<implementation name="com.sun.star.comp.unotools.misc.ServiceDocumenter"
- constructor="unotools_ServiceDocument_get_implementation">
+ constructor="unotools_ServiceDocument_get_implementation"
+ single-instance="true">
<singleton name="com.sun.star.util.theServiceDocumenter"/>
</implementation>
</component>