diff options
author | Tobias Lippert <drtl@fastmail.fm> | 2014-06-20 11:01:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-07-22 06:25:22 +0000 |
commit | 312926823dc6da7e87eb60c98ba084f14f0aa676 (patch) | |
tree | db1185fbe2ffc98430faff9a56bafbf78844e163 /include/svl/SfxBroadcaster.hxx | |
parent | f413cb08b8c0f67b9bf7278dd654dac9001cf490 (diff) |
Add unittests for SfxBroadcaster
Change-Id: I9ecd8fec395eafbdc2675dda9fa25ac32761123c
Reviewed-on: https://gerrit.libreoffice.org/10343
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl/SfxBroadcaster.hxx')
-rw-r--r-- | include/svl/SfxBroadcaster.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svl/SfxBroadcaster.hxx b/include/svl/SfxBroadcaster.hxx index 8fd62b9cc27f..5c135b5dfca2 100644 --- a/include/svl/SfxBroadcaster.hxx +++ b/include/svl/SfxBroadcaster.hxx @@ -25,12 +25,10 @@ class SfxListener; class SfxHint; - - +class SfxBroadcasterTest; class SVL_DLLPUBLIC SfxBroadcaster { - friend class SfxListener; typedef std::vector<SfxListener*> SfxListenerArr_Impl; SfxListenerArr_Impl m_Listeners; @@ -61,6 +59,9 @@ public: { return m_Listeners[nNo]; } + + friend class SfxListener; + friend class ::SfxBroadcasterTest; }; #endif |