diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-18 11:26:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-20 09:30:57 +0100 |
commit | b7d10f138182b0f2d9b682582f73de8d6ceceb8d (patch) | |
tree | 59f7497436fd18a5ca9dba583a3bcb05bc0ff165 /framework/util | |
parent | 3e12b2fb64350938a3efe3252e84f62aa608356e (diff) |
use single-use attribute for UICommandDescription
instead of rtl::Instance, which means it will get
cleaned up when UNO shuts down
Change-Id: Ia26871e1a2cf2cc6150d681f3a40b42269fb65c0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112686
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/util')
-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 12ce9ec7d966..5c9085759b19 100644 --- a/framework/util/fwk.component +++ b/framework/util/fwk.component @@ -161,7 +161,8 @@ <singleton name="com.sun.star.ui.theUICategoryDescription"/> </implementation> <implementation name="com.sun.star.comp.framework.UICommandDescription" - constructor="com_sun_star_comp_framework_UICommandDescription_get_implementation"> + constructor="com_sun_star_comp_framework_UICommandDescription_get_implementation" + single-instance="true"> <service name="com.sun.star.frame.UICommandDescription"/> <singleton name="com.sun.star.frame.theUICommandDescription"/> </implementation> |