summaryrefslogtreecommitdiff
path: root/comphelper/inc
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/inc')
-rw-r--r--comphelper/inc/comphelper/listenernotification.hxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/comphelper/inc/comphelper/listenernotification.hxx b/comphelper/inc/comphelper/listenernotification.hxx
index 98143f1d3242..46ae73a1f651 100644
--- a/comphelper/inc/comphelper/listenernotification.hxx
+++ b/comphelper/inc/comphelper/listenernotification.hxx
@@ -95,8 +95,13 @@ namespace comphelper
/** creates an iterator for looping through all registered listeners
*/
- inline ::std::auto_ptr< ::cppu::OInterfaceIteratorHelper >
- createIterator();
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH
+ ::std::auto_ptr< ::cppu::OInterfaceIteratorHelper > createIterator()
+ {
+ ::std::auto_ptr< ::cppu::OInterfaceIteratorHelper > pIterator( new ::cppu::OInterfaceIteratorHelper( m_aListeners ) );
+ return pIterator;
+ }
+ SAL_WNODEPRECATED_DECLARATIONS_POP
protected:
OListenerContainer( ::osl::Mutex& _rMutex );
@@ -158,12 +163,6 @@ namespace comphelper
return m_aListeners.getLength();
}
- inline ::std::auto_ptr< ::cppu::OInterfaceIteratorHelper > OListenerContainer::createIterator()
- {
- ::std::auto_ptr< ::cppu::OInterfaceIteratorHelper > pIterator( new ::cppu::OInterfaceIteratorHelper( m_aListeners ) );
- return pIterator;
- }
-
//====================================================================
//= OSimpleListenerContainer
//====================================================================