diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-03-21 13:22:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-21 15:44:34 +0100 |
commit | b4ec5a94bd84017eb7db0b7f23d60265bbb9b040 (patch) | |
tree | 38833f2f330e054d617406ef496569a48473b29b /framework/util/fwk.component | |
parent | 4efc4a43ff481661990b304f9599f811db39f7dc (diff) |
use single-use attribute for SubstitutePathVariables
instead of rtl::Instance, which means it will get
cleaned up when UNO shuts down
Change-Id: I1b488ce343063b9f07d76d9dec2e12bd153c942a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112833
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/util/fwk.component')
-rw-r--r-- | framework/util/fwk.component | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/util/fwk.component b/framework/util/fwk.component index 10a07911ab1b..4cbf51e97228 100644 --- a/framework/util/fwk.component +++ b/framework/util/fwk.component @@ -106,7 +106,8 @@ <singleton name="com.sun.star.util.thePathSettings"/> </implementation> <implementation name="com.sun.star.comp.framework.PathSubstitution" - constructor="com_sun_star_comp_framework_PathSubstitution_get_implementation"> + constructor="com_sun_star_comp_framework_PathSubstitution_get_implementation" + single-instance="true"> <service name="com.sun.star.util.PathSubstitution"/> </implementation> <implementation name="com.sun.star.comp.framework.PopupMenuControllerFactory" |