diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-10 09:28:40 +0000 |
commit | 58692c30e390d24c20108a7c3140d96638898696 (patch) | |
tree | ecd84d5343b09488c91e8f8008b10fd216c2de65 /unotools/source/config | |
parent | 8c69b4db58ce820e27c96dc0f33890b6946a5f4c (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'unotools/source/config')
-rw-r--r-- | unotools/source/config/inetoptions.cxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/unotools/source/config/inetoptions.cxx b/unotools/source/config/inetoptions.cxx index 5d74102e9730..1995a1a032c4 100644 --- a/unotools/source/config/inetoptions.cxx +++ b/unotools/source/config/inetoptions.cxx @@ -105,18 +105,6 @@ public: inline void flush() { Commit(); } - void - addPropertiesChangeListener( - star::uno::Sequence< rtl::OUString > const & rPropertyNames, - star::uno::Reference< star::beans::XPropertiesChangeListener > const & - rListener); - - void - removePropertiesChangeListener( - star::uno::Sequence< rtl::OUString > const & rPropertyNames, - star::uno::Reference< star::beans::XPropertiesChangeListener > const & - rListener); - private: enum { ENTRY_COUNT = INDEX_HTTP_PROXY_PORT + 1 }; @@ -361,37 +349,6 @@ void SvtInetOptions::Impl::setProperty(Index nIndex, } //============================================================================ -void -SvtInetOptions::Impl::addPropertiesChangeListener( - star::uno::Sequence< rtl::OUString > const & rPropertyNames, - star::uno::Reference< star::beans::XPropertiesChangeListener > const & - rListener) -{ - osl::MutexGuard aGuard(m_aMutex); - Map::mapped_type & rEntry = m_aListeners[rListener]; - for (sal_Int32 i = 0; i < rPropertyNames.getLength(); ++i) - rEntry.insert(rPropertyNames[i]); -} - -//============================================================================ -void -SvtInetOptions::Impl::removePropertiesChangeListener( - star::uno::Sequence< rtl::OUString > const & rPropertyNames, - star::uno::Reference< star::beans::XPropertiesChangeListener > const & - rListener) -{ - osl::MutexGuard aGuard(m_aMutex); - Map::iterator aIt(m_aListeners.find(rListener)); - if (aIt != m_aListeners.end()) - { - for (sal_Int32 i = 0; i < rPropertyNames.getLength(); ++i) - aIt->second.erase(rPropertyNames[i]); - if (aIt->second.empty()) - m_aListeners.erase(aIt); - } -} - -//============================================================================ // // SvtInetOptions // |