Kaydet (Commit) 43f81d78 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Make these non-inline and add the const version of the getter.

Change-Id: I8c175dcaaa51e2b05895226907697b070a2e2f77
üst a2bdea07
......@@ -56,7 +56,8 @@ public:
void Broadcast( const SfxHint &rHint );
ListenersType& GetAllListeners() { return maListeners;}
ListenersType& GetAllListeners();
const ListenersType& GetAllListeners() const;
bool HasListeners() const;
......
......@@ -138,6 +138,15 @@ void SvtBroadcaster::Broadcast( const SfxHint &rHint )
void SvtBroadcaster::ListenersGone() {}
SvtBroadcaster::ListenersType& SvtBroadcaster::GetAllListeners()
{
return maListeners;
}
const SvtBroadcaster::ListenersType& SvtBroadcaster::GetAllListeners() const
{
return maListeners;
}
bool SvtBroadcaster::HasListeners() const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment