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 <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit 9be96cfcaec84b730ad2dae923a91aa39efe2993)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182350
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara
2025-02-28 15:43:56 +01:00
parent f05302c3df
commit 1b39c4dd8b
+4 -1
View File
@@ -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() {}