office-gobmx/unotools/util/utl.component
Noel Grandin f4d195fdda 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>
2021-03-23 09:08:03 +01:00

31 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.io.comp.TempFile"
constructor="unotools_OTempFileService_get_implementation">
<service name="com.sun.star.io.TempFile"/>
</implementation>
<implementation name="com.sun.star.comp.unotools.misc.ServiceDocumenter"
constructor="unotools_ServiceDocument_get_implementation"
single-instance="true">
<singleton name="com.sun.star.util.theServiceDocumenter"/>
</implementation>
</component>