diff options
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/controls/eventcontainer.hxx | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/include/toolkit/controls/eventcontainer.hxx b/include/toolkit/controls/eventcontainer.hxx index aba5ce9f3aa4..859b06ee45a3 100644 --- a/include/toolkit/controls/eventcontainer.hxx +++ b/include/toolkit/controls/eventcontainer.hxx @@ -32,24 +32,12 @@ namespace toolkit { -// Hashtable to optimize -typedef std::unordered_map -< - OUString, - sal_Int32, - OUStringHash -> -NameContainerNameMap; - - class ScriptEventContainer : public ::cppu::WeakImplHelper< css::container::XNameContainer, css::container::XContainer > { - NameContainerNameMap mHashMap; - css::uno::Sequence< OUString > mNames; - std::vector< css::uno::Any > mValues; - sal_Int32 mnElementCount; + std::unordered_map< OUString, css::uno::Any, OUStringHash> + mHashMap; css::uno::Type mType; ContainerListenerMultiplexer maContainerListeners; |