diff options
-rw-r--r-- | toolkit/inc/controls/eventcontainer.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/inc/controls/eventcontainer.hxx b/toolkit/inc/controls/eventcontainer.hxx index 396578432fd1..beca65e3e38f 100644 --- a/toolkit/inc/controls/eventcontainer.hxx +++ b/toolkit/inc/controls/eventcontainer.hxx @@ -43,6 +43,9 @@ class ScriptEventContainer final : public ::cppu::WeakImplHelper< css::container::XNameContainer, css::container::XContainer > { + // The map needs to keep the insertion order, otherwise Macro signatures would get broken + // if the order changes here (Dialog xml files are digitally signed too). + // Thus a std::map or std::unordered_map can't be used. NameContainerNameMap mHashMap; css::uno::Sequence< OUString > mNames; std::vector< css::uno::Any > mValues; |