configmgr/source/node.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 1b39c4dd8bf1a54bd96cf4119342c581b52509c9 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Wed Feb 12 21:12:37 2025 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Fri Feb 28 15:43:56 2025 +0100 lok: encourage even more sharing of config Node pages. some properties, e.g. the localized user strings for "uno commands" as used by vcl::CommandInfoProvider::GetCommandProperties are cloned, so the inserted clones are not staticized. Profiles persisted in show many probe:do_wp_page events from salhelper::SimpleReferenceObject::acquire in configmgr::Access::getUnmodifiedChild https: //raw.githubusercontent.com/caolanm/profiles/585ce8645ff6ea1e3de1b3cc6f11a16f325fb0d9/do_wp_page/Demo.eu-2025-02-12T04%3A36%3A21.759836.svg Change-Id: I3eaccbbd7e9af0c312ed1d7da68e64ffb96d3292 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181513 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Miklos Vajna <vmik...@collabora.com> (cherry picked from commit 9be96cfcaec84b730ad2dae923a91aa39efe2993) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182350 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Michael Meeks <michael.me...@collabora.com> Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/configmgr/source/node.cxx b/configmgr/source/node.cxx index 3c8387cfaf43..cd20189387c3 100644 --- a/configmgr/source/node.cxx +++ b/configmgr/source/node.cxx @@ -80,7 +80,10 @@ Node::Node(int layer): layer_(layer), finalized_(Data::NO_LAYER) Node::Node(const Node & other): SimpleReferenceObject(), layer_(other.layer_), finalized_(other.finalized_) -{} +{ + if (CreateStaticizedNodes) + staticize(); +} Node::~Node() {}