vcl: Make ImageTree ctor private

There's only a single instance of the class
that can be retrieved using ImageTree::get.

Make the ctor private to clarify that.

Change-Id: I75bd6e60e8079f5ddcef49200280fa61bbf1c4ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211552
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
Michael Weghorn
2026-09-29 14:00:00 +02:00
parent a0c08a780e
commit f1b64c69c1
+1 -1
View File
@@ -56,9 +56,9 @@ class ImageTree
private:
std::unique_ptr<ImplImageTree> mpImplImageTree;
public:
ImageTree();
public:
VCL_DLLPUBLIC static ImageTree & get();
VCL_DLLPUBLIC OUString getImageUrl(