diff options
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/config/options.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/unotools/source/config/options.cxx b/unotools/source/config/options.cxx index 11a396287ad8..977f185b42b8 100644 --- a/unotools/source/config/options.cxx +++ b/unotools/source/config/options.cxx @@ -42,6 +42,18 @@ ConfigurationBroadcaster::~ConfigurationBroadcaster() { } +ConfigurationBroadcaster & ConfigurationBroadcaster::operator =( + ConfigurationBroadcaster const & other) +{ + if (&other != this) { + mpList.reset( + other.mpList == nullptr ? nullptr : new IMPL_ConfigurationListenerList(*other.mpList)); + m_nBroadcastBlocked = other.m_nBroadcastBlocked; + m_nBlockedHint = other.m_nBlockedHint; + } + return *this; +} + void ConfigurationBroadcaster::AddListener( utl::ConfigurationListener* pListener ) { if ( !mpList ) |