diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-03-18 11:27:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-19 20:04:25 +0100 |
commit | ccef00e160439f1836ab27cd13cbe6aa8f9e5146 (patch) | |
tree | b21a40b280e4476486b8f73f965c70dd9c3a070f /framework/util | |
parent | 2167edad3b1f79e304a072b4d74eb1705cfe66b4 (diff) |
use single-use attribute for WindowStateConfiguration
instead of rtl::Instance, which means it will get
cleaned up when UNO shuts down
Change-Id: I2a6a3b1e989d48f4eebf19e9922df22124d25d2a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112687
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 efc79a108e5d..f3a0cfcf1edd 100644 --- a/framework/util/fwk.component +++ b/framework/util/fwk.component @@ -183,7 +183,8 @@ <singleton name="com.sun.star.ui.theWindowContentFactoryManager"/> </implementation> <implementation name="com.sun.star.comp.framework.WindowStateConfiguration" - constructor="com_sun_star_comp_framework_WindowStateConfiguration_get_implementation"> + constructor="com_sun_star_comp_framework_WindowStateConfiguration_get_implementation" + single-instance="true"> <service name="com.sun.star.ui.WindowStateConfiguration"/> <singleton name="com.sun.star.ui.theWindowStateConfiguration"/> </implementation> |