diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-13 15:53:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-05-13 18:58:38 +0200 |
commit | 59a5fdd32727447239ee91cea00f943609540507 (patch) | |
tree | 5cd58cab561640695b85c74c015224ffaf5d4d6d /toolkit/inc/controls | |
parent | d0780b21cfe235c4446adf649eb690f9c1771dd5 (diff) |
fix ScriptEventContainer::isEmpty
which was relying on the nElementCount field, which was not being
updated. Just delete it and check the map.
Change-Id: If543abcc7c1778a27675a1df69a54325024234b6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94133
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/inc/controls')
-rw-r--r-- | toolkit/inc/controls/eventcontainer.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/toolkit/inc/controls/eventcontainer.hxx b/toolkit/inc/controls/eventcontainer.hxx index beca65e3e38f..79a434a39849 100644 --- a/toolkit/inc/controls/eventcontainer.hxx +++ b/toolkit/inc/controls/eventcontainer.hxx @@ -49,7 +49,6 @@ class ScriptEventContainer final : public ::cppu::WeakImplHelper< NameContainerNameMap mHashMap; css::uno::Sequence< OUString > mNames; std::vector< css::uno::Any > mValues; - sal_Int32 mnElementCount; css::uno::Type mType; ContainerListenerMultiplexer maContainerListeners; |