diff options
Diffstat (limited to 'include/svl/lstner.hxx')
-rw-r--r-- | include/svl/lstner.hxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/svl/lstner.hxx b/include/svl/lstner.hxx index 1e3aa6becbdd..1b0e8806376b 100644 --- a/include/svl/lstner.hxx +++ b/include/svl/lstner.hxx @@ -20,7 +20,12 @@ #define INCLUDED_SVL_LSTNER_HXX #include <svl/svldllapi.h> +#include <map> #include <memory> +#include <vector> +#ifdef DBG_UTIL +#include <sal/backtrace.hxx> +#endif class SfxBroadcaster; class SfxHint; @@ -37,15 +42,18 @@ enum class DuplicateHandling { Unexpected, Prevent, Allow }; class SVL_DLLPUBLIC SfxListener { - struct Impl; - std::unique_ptr<Impl> mpImpl; + std::vector<SfxBroadcaster*> maBCs; +#ifdef DBG_UTIL + std::map<SfxBroadcaster*, std::unique_ptr<sal::BacktraceState>> + maCallStacks; +#endif private: const SfxListener& operator=(const SfxListener &) = delete; public: - SfxListener(); + SfxListener() {} SfxListener( const SfxListener &rCopy ); virtual ~SfxListener() COVERITY_NOEXCEPT_FALSE; |