diff options
author | Tobias Lippert <drtl@fastmail.fm> | 2014-07-18 15:36:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-07-22 06:26:06 +0000 |
commit | 798379313dca8de97e431ef2fe68129aaa1dcf04 (patch) | |
tree | dd9e0a372e2fa1f59608a125c04faecb416bf9a6 /svl/qa | |
parent | 312926823dc6da7e87eb60c98ba084f14f0aa676 (diff) |
fdo#76754 Speed up registration of new listeners to SfxBroadcaster
Also change behavior for the GetListenerCount() method which now
returns the count of listeners.
The previous behavior is available in method GetSizeOfVector().
Change-Id: I5b03fa55a309f4ff5aea5e8830c137786fc07e89
Reviewed-on: https://gerrit.libreoffice.org/10344
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl/qa')
-rw-r--r-- | svl/qa/unit/notify/test_SfxBroadcaster.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/qa/unit/notify/test_SfxBroadcaster.cxx b/svl/qa/unit/notify/test_SfxBroadcaster.cxx index 8139ed1eba2d..60960295ccc7 100644 --- a/svl/qa/unit/notify/test_SfxBroadcaster.cxx +++ b/svl/qa/unit/notify/test_SfxBroadcaster.cxx @@ -26,7 +26,7 @@ class SfxBroadcasterTest : public CppUnit::TestFixture // Adds code needed to register the test suite CPPUNIT_TEST_SUITE(SfxBroadcasterTest); CPPUNIT_TEST(AddingListenersIncreasesCount); - //CPPUNIT_TEST(RemovingListenersDecreasesCount); + CPPUNIT_TEST(RemovingListenersDecreasesCount); CPPUNIT_TEST(HintsAreNotForwardedToRemovedListeners); CPPUNIT_TEST_SUITE_END(); |