Kaydet (Commit) eb9525a6 authored tarafından Julien Nabet's avatar Julien Nabet

Replace lists by vectors in filtask (ucb)

Change-Id: I5b4359727ebf58bc121325d490e63f2c919dd7ab
Reviewed-on: https://gerrit.libreoffice.org/43921Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 21fe5ef0
...@@ -538,9 +538,9 @@ TaskManager::registerNotifier( const OUString& aUnqPath, Notifier* pNotifier ) ...@@ -538,9 +538,9 @@ TaskManager::registerNotifier( const OUString& aUnqPath, Notifier* pNotifier )
if( ! it->second.notifier ) if( ! it->second.notifier )
it->second.notifier = new NotifierList; it->second.notifier = new NotifierList;
std::list< Notifier* >& nlist = *( it->second.notifier ); std::vector< Notifier* >& nlist = *( it->second.notifier );
std::list<Notifier*>::iterator it1 = nlist.begin(); std::vector<Notifier*>::iterator it1 = nlist.begin();
while( it1 != nlist.end() ) // Every "Notifier" only once while( it1 != nlist.end() ) // Every "Notifier" only once
{ {
if( *it1 == pNotifier ) return; if( *it1 == pNotifier ) return;
...@@ -559,7 +559,7 @@ TaskManager::deregisterNotifier( const OUString& aUnqPath,Notifier* pNotifier ) ...@@ -559,7 +559,7 @@ TaskManager::deregisterNotifier( const OUString& aUnqPath,Notifier* pNotifier )
if( it == m_aContent.end() ) if( it == m_aContent.end() )
return; return;
it->second.notifier->remove( pNotifier ); it->second.notifier->erase(std::remove(it->second.notifier->begin(), it->second.notifier->end(), pNotifier), it->second.notifier->end());
if( it->second.notifier->empty() ) if( it->second.notifier->empty() )
m_aContent.erase( it ); m_aContent.erase( it );
...@@ -1991,16 +1991,10 @@ void SAL_CALL TaskManager::insertDefaultProperties( const OUString& aUnqPath ) ...@@ -1991,16 +1991,10 @@ void SAL_CALL TaskManager::insertDefaultProperties( const OUString& aUnqPath )
PropertySet& properties = *(it->second.properties); PropertySet& properties = *(it->second.properties);
bool ContentNotDefau = properties.find( ContentTProperty ) != properties.end(); bool ContentNotDefau = properties.find( ContentTProperty ) != properties.end();
TaskManager::PropertySet::iterator it1 = m_aDefaultProperties.begin(); for (auto const& defaultprop : m_aDefaultProperties)
while( it1 != m_aDefaultProperties.end() )
{ {
if( ContentNotDefau && it1->getPropertyName() == ContentType ) if( !ContentNotDefau || defaultprop.getPropertyName() != ContentType )
{ properties.insert( defaultprop );
// No insertion
}
else
properties.insert( *it1 );
++it1;
} }
} }
...@@ -2610,25 +2604,22 @@ TaskManager::getv( ...@@ -2610,25 +2604,22 @@ TaskManager::getv(
// EventListener // EventListener
std::list< ContentEventNotifier* >* SAL_CALL std::vector< ContentEventNotifier* >* SAL_CALL
TaskManager::getContentEventListeners( const OUString& aName ) TaskManager::getContentEventListeners( const OUString& aName )
{ {
std::list< ContentEventNotifier* >* p = new std::list< ContentEventNotifier* >; std::vector< ContentEventNotifier* >* p = new std::vector< ContentEventNotifier* >;
std::list< ContentEventNotifier* >& listeners = *p; std::vector< ContentEventNotifier* >& listeners = *p;
{ {
osl::MutexGuard aGuard( m_aMutex ); osl::MutexGuard aGuard( m_aMutex );
TaskManager::ContentMap::iterator it = m_aContent.find( aName ); TaskManager::ContentMap::iterator it = m_aContent.find( aName );
if( it != m_aContent.end() && it->second.notifier ) if( it != m_aContent.end() && it->second.notifier )
{ {
std::list<Notifier*>& listOfNotifiers = *( it->second.notifier ); std::vector<Notifier*>& listOfNotifiers = *( it->second.notifier );
std::list<Notifier*>::iterator it1 = listOfNotifiers.begin(); for (auto const& pointer : listOfNotifiers)
while( it1 != listOfNotifiers.end() )
{ {
Notifier* pointer = *it1;
ContentEventNotifier* notifier = pointer->cCEL(); ContentEventNotifier* notifier = pointer->cCEL();
if( notifier ) if( notifier )
listeners.push_back( notifier ); listeners.push_back( notifier );
++it1;
} }
} }
} }
...@@ -2636,25 +2627,22 @@ TaskManager::getContentEventListeners( const OUString& aName ) ...@@ -2636,25 +2627,22 @@ TaskManager::getContentEventListeners( const OUString& aName )
} }
std::list< ContentEventNotifier* >* SAL_CALL std::vector< ContentEventNotifier* >* SAL_CALL
TaskManager::getContentDeletedEventListeners( const OUString& aName ) TaskManager::getContentDeletedEventListeners( const OUString& aName )
{ {
std::list< ContentEventNotifier* >* p = new std::list< ContentEventNotifier* >; std::vector< ContentEventNotifier* >* p = new std::vector< ContentEventNotifier* >;
std::list< ContentEventNotifier* >& listeners = *p; std::vector< ContentEventNotifier* >& listeners = *p;
{ {
osl::MutexGuard aGuard( m_aMutex ); osl::MutexGuard aGuard( m_aMutex );
TaskManager::ContentMap::iterator it = m_aContent.find( aName ); TaskManager::ContentMap::iterator it = m_aContent.find( aName );
if( it != m_aContent.end() && it->second.notifier ) if( it != m_aContent.end() && it->second.notifier )
{ {
std::list<Notifier*>& listOfNotifiers = *( it->second.notifier ); std::vector<Notifier*>& listOfNotifiers = *( it->second.notifier );
std::list<Notifier*>::iterator it1 = listOfNotifiers.begin(); for (auto const& pointer : listOfNotifiers)
while( it1 != listOfNotifiers.end() )
{ {
Notifier* pointer = *it1;
ContentEventNotifier* notifier = pointer->cDEL(); ContentEventNotifier* notifier = pointer->cDEL();
if( notifier ) if( notifier )
listeners.push_back( notifier ); listeners.push_back( notifier );
++it1;
} }
} }
} }
...@@ -2663,9 +2651,9 @@ TaskManager::getContentDeletedEventListeners( const OUString& aName ) ...@@ -2663,9 +2651,9 @@ TaskManager::getContentDeletedEventListeners( const OUString& aName )
void SAL_CALL void SAL_CALL
TaskManager::notifyInsert( std::list< ContentEventNotifier* >* listeners,const OUString& aChildName ) TaskManager::notifyInsert( std::vector< ContentEventNotifier* >* listeners,const OUString& aChildName )
{ {
std::list< ContentEventNotifier* >::iterator it = listeners->begin(); std::vector< ContentEventNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyChildInserted( aChildName ); (*it)->notifyChildInserted( aChildName );
...@@ -2677,9 +2665,9 @@ TaskManager::notifyInsert( std::list< ContentEventNotifier* >* listeners,const O ...@@ -2677,9 +2665,9 @@ TaskManager::notifyInsert( std::list< ContentEventNotifier* >* listeners,const O
void SAL_CALL void SAL_CALL
TaskManager::notifyContentDeleted( std::list< ContentEventNotifier* >* listeners ) TaskManager::notifyContentDeleted( std::vector< ContentEventNotifier* >* listeners )
{ {
std::list< ContentEventNotifier* >::iterator it = listeners->begin(); std::vector< ContentEventNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyDeleted(); (*it)->notifyDeleted();
...@@ -2691,10 +2679,10 @@ TaskManager::notifyContentDeleted( std::list< ContentEventNotifier* >* listeners ...@@ -2691,10 +2679,10 @@ TaskManager::notifyContentDeleted( std::list< ContentEventNotifier* >* listeners
void SAL_CALL void SAL_CALL
TaskManager::notifyContentRemoved( std::list< ContentEventNotifier* >* listeners, TaskManager::notifyContentRemoved( std::vector< ContentEventNotifier* >* listeners,
const OUString& aChildName ) const OUString& aChildName )
{ {
std::list< ContentEventNotifier* >::iterator it = listeners->begin(); std::vector< ContentEventNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyRemoved( aChildName ); (*it)->notifyRemoved( aChildName );
...@@ -2705,25 +2693,22 @@ TaskManager::notifyContentRemoved( std::list< ContentEventNotifier* >* listeners ...@@ -2705,25 +2693,22 @@ TaskManager::notifyContentRemoved( std::list< ContentEventNotifier* >* listeners
} }
std::list< PropertySetInfoChangeNotifier* >* SAL_CALL std::vector< PropertySetInfoChangeNotifier* >* SAL_CALL
TaskManager::getPropertySetListeners( const OUString& aName ) TaskManager::getPropertySetListeners( const OUString& aName )
{ {
std::list< PropertySetInfoChangeNotifier* >* p = new std::list< PropertySetInfoChangeNotifier* >; std::vector< PropertySetInfoChangeNotifier* >* p = new std::vector< PropertySetInfoChangeNotifier* >;
std::list< PropertySetInfoChangeNotifier* >& listeners = *p; std::vector< PropertySetInfoChangeNotifier* >& listeners = *p;
{ {
osl::MutexGuard aGuard( m_aMutex ); osl::MutexGuard aGuard( m_aMutex );
TaskManager::ContentMap::iterator it = m_aContent.find( aName ); TaskManager::ContentMap::iterator it = m_aContent.find( aName );
if( it != m_aContent.end() && it->second.notifier ) if( it != m_aContent.end() && it->second.notifier )
{ {
std::list<Notifier*>& listOfNotifiers = *( it->second.notifier ); std::vector<Notifier*>& listOfNotifiers = *( it->second.notifier );
std::list<Notifier*>::iterator it1 = listOfNotifiers.begin(); for (auto const& pointer : listOfNotifiers)
while( it1 != listOfNotifiers.end() )
{ {
Notifier* pointer = *it1;
PropertySetInfoChangeNotifier* notifier = pointer->cPSL(); PropertySetInfoChangeNotifier* notifier = pointer->cPSL();
if( notifier ) if( notifier )
listeners.push_back( notifier ); listeners.push_back( notifier );
++it1;
} }
} }
} }
...@@ -2732,10 +2717,10 @@ TaskManager::getPropertySetListeners( const OUString& aName ) ...@@ -2732,10 +2717,10 @@ TaskManager::getPropertySetListeners( const OUString& aName )
void SAL_CALL void SAL_CALL
TaskManager::notifyPropertyAdded( std::list< PropertySetInfoChangeNotifier* >* listeners, TaskManager::notifyPropertyAdded( std::vector< PropertySetInfoChangeNotifier* >* listeners,
const OUString& aPropertyName ) const OUString& aPropertyName )
{ {
std::list< PropertySetInfoChangeNotifier* >::iterator it = listeners->begin(); std::vector< PropertySetInfoChangeNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyPropertyAdded( aPropertyName ); (*it)->notifyPropertyAdded( aPropertyName );
...@@ -2747,10 +2732,10 @@ TaskManager::notifyPropertyAdded( std::list< PropertySetInfoChangeNotifier* >* l ...@@ -2747,10 +2732,10 @@ TaskManager::notifyPropertyAdded( std::list< PropertySetInfoChangeNotifier* >* l
void SAL_CALL void SAL_CALL
TaskManager::notifyPropertyRemoved( std::list< PropertySetInfoChangeNotifier* >* listeners, TaskManager::notifyPropertyRemoved( std::vector< PropertySetInfoChangeNotifier* >* listeners,
const OUString& aPropertyName ) const OUString& aPropertyName )
{ {
std::list< PropertySetInfoChangeNotifier* >::iterator it = listeners->begin(); std::vector< PropertySetInfoChangeNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyPropertyRemoved( aPropertyName ); (*it)->notifyPropertyRemoved( aPropertyName );
...@@ -2761,15 +2746,15 @@ TaskManager::notifyPropertyRemoved( std::list< PropertySetInfoChangeNotifier* >* ...@@ -2761,15 +2746,15 @@ TaskManager::notifyPropertyRemoved( std::list< PropertySetInfoChangeNotifier* >*
} }
std::vector< std::list< ContentEventNotifier* >* >* SAL_CALL std::vector< std::vector< ContentEventNotifier* >* >* SAL_CALL
TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
const OUString& aNewPrefix, const OUString& aNewPrefix,
bool withChildren ) bool withChildren )
{ {
std::vector< std::list< ContentEventNotifier* >* >* aVectorOnHeap = std::vector< std::vector< ContentEventNotifier* >* >* aVectorOnHeap =
new std::vector< std::list< ContentEventNotifier* >* >; new std::vector< std::vector< ContentEventNotifier* >* >;
std::vector< std::list< ContentEventNotifier* >* >& aVector = *aVectorOnHeap; std::vector< std::vector< ContentEventNotifier* >* >& aVector = *aVectorOnHeap;
sal_Int32 count; sal_Int32 count;
OUString aOldName; OUString aOldName;
...@@ -2787,14 +2772,12 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, ...@@ -2787,14 +2772,12 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
} }
else else
{ {
ContentMap::iterator itnames = m_aContent.begin(); for (auto const& content : m_aContent)
while( itnames != m_aContent.end() )
{ {
if( isChild( aOldPrefix,itnames->first ) ) if( isChild( aOldPrefix,content.first ) )
{ {
oldChildList.push_back( itnames->first ); oldChildList.push_back( content.first );
} }
++itnames;
} }
count = oldChildList.size(); count = oldChildList.size();
} }
...@@ -2802,8 +2785,8 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, ...@@ -2802,8 +2785,8 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
for( sal_Int32 j = 0; j < count; ++j ) for( sal_Int32 j = 0; j < count; ++j )
{ {
std::list< ContentEventNotifier* >* p = new std::list< ContentEventNotifier* >; std::vector< ContentEventNotifier* >* p = new std::vector< ContentEventNotifier* >;
std::list< ContentEventNotifier* >& listeners = *p; std::vector< ContentEventNotifier* >& listeners = *p;
if( withChildren ) if( withChildren )
{ {
...@@ -2823,7 +2806,7 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, ...@@ -2823,7 +2806,7 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
itold->second.properties = nullptr; itold->second.properties = nullptr;
// copy existing list // copy existing list
std::list< Notifier* >* copyList = itnew->second.notifier; std::vector< Notifier* >* copyList = itnew->second.notifier;
itnew->second.notifier = itold->second.notifier; itnew->second.notifier = itold->second.notifier;
itold->second.notifier = nullptr; itold->second.notifier = nullptr;
...@@ -2831,15 +2814,12 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, ...@@ -2831,15 +2814,12 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
if( itnew != m_aContent.end() && itnew->second.notifier ) if( itnew != m_aContent.end() && itnew->second.notifier )
{ {
std::list<Notifier*>& listOfNotifiers = *( itnew->second.notifier ); std::vector<Notifier*>& listOfNotifiers = *( itnew->second.notifier );
std::list<Notifier*>::iterator it1 = listOfNotifiers.begin(); for (auto const& pointer : listOfNotifiers)
while( it1 != listOfNotifiers.end() )
{ {
Notifier* pointer = *it1;
ContentEventNotifier* notifier = pointer->cEXC( aNewName ); ContentEventNotifier* notifier = pointer->cEXC( aNewName );
if( notifier ) if( notifier )
listeners.push_back( notifier ); listeners.push_back( notifier );
++it1;
} }
} }
...@@ -2847,7 +2827,7 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, ...@@ -2847,7 +2827,7 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
// However, these may be in status BaseContent::Deleted // However, these may be in status BaseContent::Deleted
if( copyList != nullptr ) if( copyList != nullptr )
{ {
std::list< Notifier* >::iterator copyIt = copyList->begin(); std::vector< Notifier* >::iterator copyIt = copyList->begin();
while( copyIt != copyList->end() ) while( copyIt != copyList->end() )
{ {
itnew->second.notifier->push_back( *copyIt ); itnew->second.notifier->push_back( *copyIt );
...@@ -2865,11 +2845,11 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix, ...@@ -2865,11 +2845,11 @@ TaskManager::getContentExchangedEventListeners( const OUString& aOldPrefix,
void SAL_CALL void SAL_CALL
TaskManager::notifyContentExchanged( std::vector< std::list< ContentEventNotifier* >* >* listeners_vec ) TaskManager::notifyContentExchanged( std::vector< std::vector< ContentEventNotifier* >* >* listeners_vec )
{ {
for( std::list< ContentEventNotifier* >* listeners : *listeners_vec) for( std::vector< ContentEventNotifier* >* listeners : *listeners_vec)
{ {
std::list< ContentEventNotifier* >::iterator it = listeners->begin(); std::vector< ContentEventNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyExchanged(); (*it)->notifyExchanged();
...@@ -2882,25 +2862,22 @@ TaskManager::notifyContentExchanged( std::vector< std::list< ContentEventNotifie ...@@ -2882,25 +2862,22 @@ TaskManager::notifyContentExchanged( std::vector< std::list< ContentEventNotifie
} }
std::list< PropertyChangeNotifier* >* SAL_CALL std::vector< PropertyChangeNotifier* >* SAL_CALL
TaskManager::getPropertyChangeNotifier( const OUString& aName ) TaskManager::getPropertyChangeNotifier( const OUString& aName )
{ {
std::list< PropertyChangeNotifier* >* p = new std::list< PropertyChangeNotifier* >; std::vector< PropertyChangeNotifier* >* p = new std::vector< PropertyChangeNotifier* >;
std::list< PropertyChangeNotifier* >& listeners = *p; std::vector< PropertyChangeNotifier* >& listeners = *p;
{ {
osl::MutexGuard aGuard( m_aMutex ); osl::MutexGuard aGuard( m_aMutex );
TaskManager::ContentMap::iterator it = m_aContent.find( aName ); TaskManager::ContentMap::iterator it = m_aContent.find( aName );
if( it != m_aContent.end() && it->second.notifier ) if( it != m_aContent.end() && it->second.notifier )
{ {
std::list<Notifier*>& listOfNotifiers = *( it->second.notifier ); std::vector<Notifier*>& listOfNotifiers = *( it->second.notifier );
std::list<Notifier*>::iterator it1 = listOfNotifiers.begin(); for (auto const& pointer : listOfNotifiers)
while( it1 != listOfNotifiers.end() )
{ {
Notifier* pointer = *it1;
PropertyChangeNotifier* notifier = pointer->cPCL(); PropertyChangeNotifier* notifier = pointer->cPCL();
if( notifier ) if( notifier )
listeners.push_back( notifier ); listeners.push_back( notifier );
++it1;
} }
} }
} }
...@@ -2908,10 +2885,10 @@ TaskManager::getPropertyChangeNotifier( const OUString& aName ) ...@@ -2908,10 +2885,10 @@ TaskManager::getPropertyChangeNotifier( const OUString& aName )
} }
void SAL_CALL TaskManager::notifyPropertyChanges( std::list< PropertyChangeNotifier* >* listeners, void SAL_CALL TaskManager::notifyPropertyChanges( std::vector< PropertyChangeNotifier* >* listeners,
const uno::Sequence< beans::PropertyChangeEvent >& seqChanged ) const uno::Sequence< beans::PropertyChangeEvent >& seqChanged )
{ {
std::list< PropertyChangeNotifier* >::iterator it = listeners->begin(); std::vector< PropertyChangeNotifier* >::iterator it = listeners->begin();
while( it != listeners->end() ) while( it != listeners->end() )
{ {
(*it)->notifyPropertyChanged( seqChanged ); (*it)->notifyPropertyChanged( seqChanged );
......
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
#include <com/sun/star/task/XInteractionRequest.hpp> #include <com/sun/star/task/XInteractionRequest.hpp>
#include "filerror.hxx" #include "filerror.hxx"
#include "filnot.hxx" #include "filnot.hxx"
#include <list>
#include <unordered_map> #include <unordered_map>
#include <functional> #include <functional>
#include <unordered_set> #include <unordered_set>
...@@ -225,7 +224,7 @@ namespace fileaccess ...@@ -225,7 +224,7 @@ namespace fileaccess
}; };
typedef std::unordered_set< MyProperty,hMyProperty,eMyProperty > PropertySet; typedef std::unordered_set< MyProperty,hMyProperty,eMyProperty > PropertySet;
typedef std::list< Notifier* > NotifierList; typedef std::vector< Notifier* > NotifierList;
class UnqPathData class UnqPathData
...@@ -517,21 +516,21 @@ namespace fileaccess ...@@ -517,21 +516,21 @@ namespace fileaccess
/* get eventListeners */ /* get eventListeners */
/********************************************************************************/ /********************************************************************************/
std::list< ContentEventNotifier* >* SAL_CALL std::vector< ContentEventNotifier* >* SAL_CALL
getContentEventListeners( const OUString& aName ); getContentEventListeners( const OUString& aName );
std::list< ContentEventNotifier* >* SAL_CALL std::vector< ContentEventNotifier* >* SAL_CALL
getContentDeletedEventListeners( const OUString& aName ); getContentDeletedEventListeners( const OUString& aName );
std::vector< std::list< ContentEventNotifier* >* >* SAL_CALL std::vector< std::vector< ContentEventNotifier* >* >* SAL_CALL
getContentExchangedEventListeners( const OUString& aOldPrefix, getContentExchangedEventListeners( const OUString& aOldPrefix,
const OUString& aNewPrefix, const OUString& aNewPrefix,
bool withChildren ); bool withChildren );
std::list< PropertyChangeNotifier* >* SAL_CALL std::vector< PropertyChangeNotifier* >* SAL_CALL
getPropertyChangeNotifier( const OUString& aName ); getPropertyChangeNotifier( const OUString& aName );
std::list< PropertySetInfoChangeNotifier* >* SAL_CALL std::vector< PropertySetInfoChangeNotifier* >* SAL_CALL
getPropertySetListeners( const OUString& aName ); getPropertySetListeners( const OUString& aName );
...@@ -540,28 +539,28 @@ namespace fileaccess ...@@ -540,28 +539,28 @@ namespace fileaccess
/********************************************************************************/ /********************************************************************************/
static void SAL_CALL notifyPropertyChanges( static void SAL_CALL notifyPropertyChanges(
std::list< PropertyChangeNotifier* >* listeners, std::vector< PropertyChangeNotifier* >* listeners,
const css::uno::Sequence< css::beans::PropertyChangeEvent >& seqChanged ); const css::uno::Sequence< css::beans::PropertyChangeEvent >& seqChanged );
static void SAL_CALL notifyContentExchanged( static void SAL_CALL notifyContentExchanged(
std::vector< std::list< ContentEventNotifier* >* >* listeners_vec ); std::vector< std::vector< ContentEventNotifier* >* >* listeners_vec );
static void SAL_CALL notifyInsert( static void SAL_CALL notifyInsert(
std::list< ContentEventNotifier* >* listeners,const OUString& aChildName ); std::vector< ContentEventNotifier* >* listeners,const OUString& aChildName );
static void SAL_CALL notifyContentDeleted( static void SAL_CALL notifyContentDeleted(
std::list< ContentEventNotifier* >* listeners ); std::vector< ContentEventNotifier* >* listeners );
static void SAL_CALL notifyContentRemoved( static void SAL_CALL notifyContentRemoved(
std::list< ContentEventNotifier* >* listeners, std::vector< ContentEventNotifier* >* listeners,
const OUString& aChildName ); const OUString& aChildName );
static void SAL_CALL notifyPropertyAdded( static void SAL_CALL notifyPropertyAdded(
std::list< PropertySetInfoChangeNotifier* >* listeners, std::vector< PropertySetInfoChangeNotifier* >* listeners,
const OUString& aPropertyName ); const OUString& aPropertyName );
static void SAL_CALL notifyPropertyRemoved( static void SAL_CALL notifyPropertyRemoved(
std::list< PropertySetInfoChangeNotifier* >* listeners, std::vector< PropertySetInfoChangeNotifier* >* listeners,
const OUString& aPropertyName ); const OUString& aPropertyName );
......
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