diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2020-08-23 19:18:33 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2020-08-31 15:19:43 +0200 |
commit | 3e4968e6761c816c0a6aedf59485191af8a0fa4e (patch) | |
tree | e76c68df11b6f26ba5f27bb3e25e60eeb0880944 /odk | |
parent | 9bf4e2aa77c208d09b32c3638afab6f904bf0257 (diff) |
Remove remains of private:image/ via ImageIdentifier addon property
This is broken since commit 5c39b28a87060f80404079ab77604f664addb063
("tdf#96059 Replaced imageproducer with CommandInfoProvider") but so
far no one complained (maybe because the usefulness of such internal
images from extensions is questionable at least). Given also that
the whole ImageIdentifier feature (even its still working part) is
obsolete since OOo 2.0.3 (according to the OOo dev guide), and that
the availability of a particular image from an internal hardcoded
image list by a particular numerical id is more an implementation
detail, let's just remove the broken code instead of fixing it.
In the meantime, the code was also copied into the newly introduced
notebookbar addon code, so I handled it there too.
There are also the registry schema and a sdk example that mention this
feature, and need to be adjusted. Interesting that the particular
example used there - private:image/3216 is actually broken since 2011
with commit 2559cab126f81375197051fb5b07ba6abb9efc77
("FDO#42454 - EasyHack: remove code associated with unused icons").
Change-Id: I968b4fb8c5b207654476dd92c57d8db0815520ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101529
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/DevelopersGuide/Components/Addons/JobsAddon/Addons.xcu | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/Addons.xcu b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/Addons.xcu index e9b9976d312e..2568a7c4f8e6 100644 --- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/Addons.xcu +++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/Addons.xcu @@ -29,11 +29,6 @@ </prop> - <prop oor:name="ImageIdentifier" oor:type="xs:string"> - <value>private:image/3216</value> - - </prop> - <prop oor:name="Title" oor:type="xs:string"> <!-- The x-no-translate entry is a marker to prevent l10n tooling from translation. If it is not necessary. --> <value xml:lang="x-no-translate"></value> @@ -53,11 +48,6 @@ </prop> - <prop oor:name="ImageIdentifier" oor:type="xs:string"> - <value>private:image/3216</value> - - </prop> - <prop oor:name="Title" oor:type="xs:string"> <!-- The x-no-translate entry is a marker to prevent l10n tooling from translation. If it is not necessary. --> <value xml:lang="x-no-translate"></value> @@ -77,11 +67,6 @@ </prop> - <prop oor:name="ImageIdentifier" oor:type="xs:string"> - <value>private:image/3216</value> - - </prop> - <prop oor:name="Title" oor:type="xs:string"> <!-- The x-no-translate entry is a marker to prevent l10n tooling from translation. If it is not necessary. --> <value xml:lang="x-no-translate"></value> |