/aoo4110/main/svl/source/notify/ |
H A D | brdcst.cxx | 60 SfxListener* pListener = aListeners[n]; in Broadcast() 99 SfxListener *pListener = aListeners[nPos]; in ~SfxBroadcaster() 125 SfxListener *pListener = rBC.aListeners[n]; in SfxBroadcaster() 141 if ( nFreePos < aListeners.Count() ) in AddListener() 142 aListeners.GetData()[nFreePos] = pListener; in AddListener() 143 else if ( aListeners.Count() < (USHRT_MAX-1) ) in AddListener() 144 aListeners.Insert( pListener, aListeners.Count() ); in AddListener() 171 const sal_uInt16 nCount = aListeners.Count(); in Forward() 174 SfxListener *pListener = aListeners[i]; in Forward() 190 aListeners.GetData()[nPos] = 0; in RemoveListener() [all …]
|
/aoo4110/main/odk/examples/cpp/complextoolbarcontrols/ |
H A D | ListenerHelper.cxx | 36 static AllListeners aListeners; variable 46 if ( aListeners[i].xFrame == xFrame ) in AddListener() 58 sal_uInt32 nSize = aListeners.size(); in RemoveListener() 61 if ( aListeners[i].xFrame == xFrame ) in RemoveListener() 84 sal_uInt32 nSize = aListeners.size(); in Notify() 87 if ( aListeners[i].xFrame == xFrame ) in Notify() 105 sal_uInt32 nSize = aListeners.size(); in GetDispatch() 109 return aListeners[i].xDispatch; in GetDispatch() 123 aListeners.push_back( aItem ); in AddDispatch() 130 while ( aIter != aListeners.end() ) in disposing() [all …]
|
/aoo4110/main/vcl/source/app/ |
H A D | session.cxx | 127 std::list< Listener > aListeners; in callSaveRequested() local 138 aListeners = m_aListeners; in callSaveRequested() 148 if( aListeners.empty() ) in callSaveRequested() 157 … for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) in callSaveRequested() 164 std::list< Listener > aListeners; in callInteractionGranted() local 176 if( aListeners.empty() ) in callInteractionGranted() 185 … for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) in callInteractionGranted() 197 aListeners = m_aListeners; in callShutdownCancelled() 203 … for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) in callShutdownCancelled() 214 aListeners = m_aListeners; in callQuit() [all …]
|
/aoo4110/main/svtools/source/uno/ |
H A D | unocontroltablemodel.cxx | 281 ModellListeners aListeners( m_pImpl->m_aListeners ); in insertColumn() local 283 loop != aListeners.end(); in insertColumn() 304 ModellListeners aListeners( m_pImpl->m_aListeners ); in removeColumn() local 306 loop != aListeners.end(); in removeColumn() 342 loop != aListeners.end(); in removeAllColumns() 355 loop != aListeners.end(); in impl_notifyTableMetricsChanged() 879 loop != aListeners.end(); in notifyColumnChange() 916 loop != aListeners.end(); in notifyRowsInserted() 929 loop != aListeners.end(); in notifyRowsRemoved() 947 loop != aListeners.end(); in notifyDataChanged() [all …]
|
/aoo4110/main/svtools/source/toolpanel/ |
H A D | paneldecklisteners.cxx | 50 ::std::vector< IToolPanelDeckListener* > aListeners( m_aListeners ); in PanelInserted() 51 for ( ::std::vector< IToolPanelDeckListener* >::const_iterator loop = aListeners.begin(); in PanelInserted() 52 loop != aListeners.end(); in PanelInserted() 63 ::std::vector< IToolPanelDeckListener* > aListeners( m_aListeners ); in PanelRemoved() 64 for ( ::std::vector< IToolPanelDeckListener* >::const_iterator loop = aListeners.begin(); in PanelRemoved() 65 loop != aListeners.end(); in PanelRemoved() 76 ::std::vector< IToolPanelDeckListener* > aListeners( m_aListeners ); in ActivePanelChanged() 77 for ( ::std::vector< IToolPanelDeckListener* >::const_iterator loop = aListeners.begin(); in ActivePanelChanged() 78 loop != aListeners.end(); in ActivePanelChanged() 89 ::std::vector< IToolPanelDeckListener* > aListeners( m_aListeners ); in LayouterChanged() [all …]
|
H A D | toolpanelcollection.cxx | 45 PanelDeckListeners aListeners; member 60 m_pData->aListeners.Dying(); in ~ToolPanelCollection() 92 m_pData->aListeners.ActivePanelChanged( aOldPanel, m_pData->aActivePanel ); in ActivatePanel() 123 m_pData->aListeners.PanelInserted( i_pPanel, i_nPosition ); in InsertPanel() 153 m_pData->aListeners.ActivePanelChanged( aOldActive, m_pData->aActivePanel ); in RemovePanel() 171 m_pData->aListeners.PanelRemoved( i_nPosition ); in RemovePanel() 179 m_pData->aListeners.AddListener( i_rListener ); in AddListener() 185 m_pData->aListeners.RemoveListener( i_rListener ); in RemoveListener()
|
/aoo4110/main/vcl/unx/generic/dtrans/ |
H A D | X11_droptarget.cxx | 140 std::list< Reference< XDropTargetListener > > aListeners( m_aListeners ); in drop() local 143 …d::list< Reference< XDropTargetListener > >::iterator it = aListeners.begin(); it!= aListeners.end… in drop() 154 std::list< Reference< XDropTargetListener > > aListeners( m_aListeners ); in dragEnter() local 157 …d::list< Reference< XDropTargetListener > >::iterator it = aListeners.begin(); it!= aListeners.end… in dragEnter() 168 std::list< Reference< XDropTargetListener > > aListeners( m_aListeners ); in dragExit() local 171 …d::list< Reference< XDropTargetListener > >::iterator it = aListeners.begin(); it!= aListeners.end… in dragExit() 182 std::list< Reference< XDropTargetListener > > aListeners( m_aListeners ); in dragOver() local 185 …d::list< Reference< XDropTargetListener > >::iterator it = aListeners.begin(); it!= aListeners.end… in dragOver()
|
/aoo4110/main/sc/workben/ |
H A D | result.cxx | 69 for ( USHORT n=0; n<aListeners.Count(); n++ ) in NewValue() 70 (*aListeners[n])->modified( aEvent ); in NewValue() 90 aListeners.Insert( pObj, aListeners.Count() ); in addResultListener() 92 if ( aListeners.Count() == 1 ) in addResultListener() 104 USHORT nCount = aListeners.Count(); in removeResultListener() 107 uno::Reference<sheet::XResultListener> *pObj = aListeners[n]; in removeResultListener() 110 aListeners.DeleteAndDestroy( n ); in removeResultListener() 112 if ( aListeners.Count() == 0 ) in removeResultListener()
|
/aoo4110/main/unotools/source/misc/ |
H A D | eventlisteneradapter.cxx | 105 ::std::vector< void* > aListeners; 128 if ( m_pImpl->aListeners.empty() ) in stopComponentListening() 131 ::std::vector< void* >::iterator dispose = m_pImpl->aListeners.begin(); in stopComponentListening() 139 dispose = m_pImpl->aListeners.erase( dispose ); in stopComponentListening() 144 while ( dispose != m_pImpl->aListeners.end() ); in stopComponentListening() 150 for ( ::std::vector< void* >::const_iterator aDisposeLoop = m_pImpl->aListeners.begin(); in stopAllComponentListening() 151 aDisposeLoop != m_pImpl->aListeners.end(); in stopAllComponentListening() 159 m_pImpl->aListeners.clear(); in stopAllComponentListening() 173 m_pImpl->aListeners.push_back(pListenerImpl); in startComponentListening()
|
H A D | desktopterminationobserver.cxx | 53 Listeners aListeners; member 131 aToNotify = getListenerAdminData().aListeners; in queryTermination() 152 aToNotify = getListenerAdminData().aListeners; in notifyTermination() 168 getListenerAdminData().aListeners.clear(); in notifyTermination() 200 getListenerAdminData().aListeners.push_back( _pListener ); in registerTerminationListener() 210 Listeners& rListeners = getListenerAdminData().aListeners; in revokeTerminationListener()
|
/aoo4110/main/comphelper/source/misc/ |
H A D | accessibleeventnotifier.cxx | 204 Sequence< Reference< XInterface > > aListeners; in getEventListeners() local 210 aListeners = aClientPos->second->getElements(); in getEventListeners() 212 return aListeners; in getEventListeners() 218 Sequence< Reference< XInterface > > aListeners; in addEvent() local 230 aListeners = aClientPos->second->getElements(); in addEvent() 235 const Reference< XInterface >* pListeners = aListeners.getConstArray(); in addEvent() 236 const Reference< XInterface >* pListenersEnd = pListeners + aListeners.getLength(); in addEvent()
|
H A D | accessiblecontexthelper.cxx | 224 Sequence< Reference< XInterface > > aListeners; in BufferAccessibleEvent() local 226 aListeners = AccessibleEventNotifier::getEventListeners( m_pImpl->getClientId( ) ); in BufferAccessibleEvent() 228 if ( aListeners.getLength() ) in BufferAccessibleEvent() 237 _rBuffer.addEvent( aEvent, aListeners ); in BufferAccessibleEvent()
|
/aoo4110/main/extensions/source/propctrlr/ |
H A D | eventhandler.cxx | 325 Sequence< Type > aListeners( xIntrospectionAccess->getSupportedListeners() ); in lcl_addListenerTypesFor_throw() local 327 … ::std::copy( aListeners.getConstArray(), aListeners.getConstArray() + aListeners.getLength(), in lcl_addListenerTypesFor_throw() 783 Sequence< Type > aListeners; in getSupportedProperties() local 784 impl_getCopmonentListenerTypes_nothrow( aListeners ); in getSupportedProperties() 785 sal_Int32 listenerCount = aListeners.getLength(); in getSupportedProperties() 791 const Type* pListeners = aListeners.getConstArray(); in getSupportedProperties() 1059 TypeBag aListeners; in impl_getCopmonentListenerTypes_nothrow() local 1065 m_xComponent, xIntrospection, aListeners ); in impl_getCopmonentListenerTypes_nothrow() 1070 lcl_addListenerTypesFor_throw( xSecondaryComponent, xIntrospection, aListeners ); in impl_getCopmonentListenerTypes_nothrow() 1075 _out_rTypes.realloc( aListeners.size() ); in impl_getCopmonentListenerTypes_nothrow() [all …]
|
/aoo4110/main/dbaccess/source/core/dataaccess/ |
H A D | ContentHelper.cxx | 593 PropertiesEventListenerMap aListeners; in notifyPropertiesChange() local 612 PropertiesEventListenerMap::iterator it = aListeners.find( pListener ); in notifyPropertiesChange() 613 if ( it == aListeners.end() ) in notifyPropertiesChange() 617 aListeners[ pListener ] = propertyEvents; in notifyPropertiesChange() 629 PropertiesEventListenerMap::iterator it = aListeners.begin(); in notifyPropertiesChange() 630 while ( !aListeners.empty() ) in notifyPropertiesChange() 637 aListeners.erase( it ); in notifyPropertiesChange() 644 it = aListeners.begin(); in notifyPropertiesChange()
|
/aoo4110/main/ucbhelper/source/provider/ |
H A D | contenthelper.cxx | 878 PropertiesEventListenerMap aListeners; in notifyPropertiesChange() local 900 aListeners.find( pListener ); in notifyPropertiesChange() 901 if ( it == aListeners.end() ) in notifyPropertiesChange() 905 aListeners[ pListener ] = p; in notifyPropertiesChange() 917 PropertiesEventListenerMap::iterator it = aListeners.begin(); in notifyPropertiesChange() 918 while ( !aListeners.empty() ) in notifyPropertiesChange() 925 aListeners.erase( it ); in notifyPropertiesChange() 932 it = aListeners.begin(); in notifyPropertiesChange()
|
/aoo4110/main/sfx2/source/sidebar/ |
H A D | Theme.cxx | 480 ChangeListeners aListeners; in disposing() local 481 maChangeListeners.swap(aListeners); in disposing() 1053 VetoableListenerContainer aListeners (*pListeners); in DoVetoableListenersVeto() local 1057 iListener(aListeners.begin()), in DoVetoableListenersVeto() 1058 iEnd(aListeners.end()); in DoVetoableListenersVeto() 1086 const ChangeListenerContainer aListeners (*pListeners); in BroadcastPropertyChange() local 1090 iListener(aListeners.begin()), in BroadcastPropertyChange() 1091 iEnd(aListeners.end()); in BroadcastPropertyChange()
|
/aoo4110/main/odk/examples/DevelopersGuide/Spreadsheet/ |
H A D | ExampleAddIn.java | 28 private java.util.Vector aListeners = new java.util.Vector(); field in ExampleAddInResult 46 aListeners.addElement( aListener ); in addResultListener() 54 aListeners.removeElement( aListener ); in removeResultListener() 62 java.util.Enumeration aEnum = aListeners.elements(); in incrementValue()
|
/aoo4110/main/svl/inc/svl/ |
H A D | brdcst.hxx | 43 SfxListenerArr_Impl aListeners; member in SfxBroadcaster 66 sal_uInt16 GetListenerCount() const { return aListeners.Count(); } in GetListenerCount() 68 { return (SfxListener*) aListeners[nNo]; } in GetListener()
|
/aoo4110/main/framework/source/services/ |
H A D | ContextChangeEventMultiplexer.cxx | 61 ListenerMap aListeners; in disposing() local 62 aListeners.swap(maListeners); in disposing() 66 for (ListenerMap::const_iterator iContainer(aListeners.begin()), iEnd(aListeners.end()); in disposing()
|
/aoo4110/main/svl/source/undo/ |
H A D | undo.cxx | 189 UndoListeners aListeners; member 350 UndoListeners aListenersCopy( m_rManagerData.aListeners ); in ~UndoManagerGuard() 398 aListenersCopy = m_pData->aListeners; in ~SfxUndoManager() 988 m_pData->aListeners.push_back( &i_listener ); in AddUndoListener() 996 for ( UndoListeners::iterator lookup = m_pData->aListeners.begin(); in RemoveUndoListener() 997 lookup != m_pData->aListeners.end(); in RemoveUndoListener() 1003 m_pData->aListeners.erase( lookup ); in RemoveUndoListener()
|
/aoo4110/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsFocusManager.cxx | 368 ::std::vector<Link> aListeners (maFocusChangeListeners); in NotifyFocusChangeListeners() 371 ::std::vector<Link>::iterator iListener (aListeners.begin()); in NotifyFocusChangeListeners() 372 ::std::vector<Link>::iterator iEnd (aListeners.end()); in NotifyFocusChangeListeners()
|
/aoo4110/main/cppuhelper/qa/ifcontainer/ |
H A D | cppu_ifcontainer.cxx | 107 std::vector< Reference< XEventListener > > aListeners; in testEnumerate() local 112 aListeners.push_back(xRef); in testEnumerate() 124 aElements[i] == aListeners[i]); in testEnumerate()
|
/aoo4110/main/sd/source/ui/presenter/ |
H A D | PresenterPreviewCache.cxx | 497 ListenerContainer aListeners (maListeners); in CallListeners() local 499 for (iListener=aListeners.begin(); iListener!=aListeners.end(); ++iListener) in CallListeners()
|
/aoo4110/main/toolkit/source/awt/ |
H A D | vclxtoolkit.cxx | 1642 aListeners(m_aTopWindowListeners.getElements()); in callTopWindowListeners() 1643 if (aListeners.hasElements()) in callTopWindowListeners() 1647 for (::sal_Int32 i = 0; i < aListeners.getLength(); ++i) in callTopWindowListeners() 1650 xListener(aListeners[i], ::css::uno::UNO_QUERY); in callTopWindowListeners() 1723 aListeners(m_aFocusListeners.getElements()); in callFocusListeners() 1724 if (aListeners.hasElements()) in callFocusListeners() 1742 for (::sal_Int32 i = 0; i < aListeners.getLength(); ++i) in callFocusListeners() 1745 aListeners[i], ::css::uno::UNO_QUERY); in callFocusListeners()
|
/aoo4110/main/sc/source/ui/unoobj/ |
H A D | fielduno.cxx | 370 uno::Sequence< uno::Reference< uno::XInterface > > aListeners(mpRefreshListeners->getElements()); in refresh() local 371 sal_uInt32 nLength(aListeners.getLength()); in refresh() 374 const uno::Reference< uno::XInterface >* pInterfaces = aListeners.getConstArray(); in refresh() 1027 uno::Sequence< uno::Reference< uno::XInterface > > aListeners(mpRefreshListeners->getElements()); in refresh() local 1028 sal_uInt32 nLength(aListeners.getLength()); in refresh() 1031 const uno::Reference< uno::XInterface >* pInterfaces = aListeners.getConstArray(); in refresh()
|