Lines Matching refs:aData
98 aData = rCont_.aData; in OInterfaceIteratorHelper()
102 nRemain = aData.pAsSequence->getLength(); in OInterfaceIteratorHelper()
104 else if( aData.pAsInterface ) in OInterfaceIteratorHelper()
106 aData.pAsInterface->acquire(); in OInterfaceIteratorHelper()
119 bShared = aData.pAsSequence == rCont.aData.pAsSequence && rCont.bIsList; in ~OInterfaceIteratorHelper()
131 delete aData.pAsSequence; in ~OInterfaceIteratorHelper()
132 else if( aData.pAsInterface ) in ~OInterfaceIteratorHelper()
134 aData.pAsInterface->release(); in ~OInterfaceIteratorHelper()
145 return aData.pAsSequence->getConstArray()[nRemain].get(); in next()
146 else if( aData.pAsInterface ) in next()
147 return aData.pAsInterface; in next()
158 nRemain < aData.pAsSequence->getLength() ); in remove()
159 XInterface * p = aData.pAsSequence->getConstArray()[nRemain].get(); in remove()
165 …rCont.removeInterface( * reinterpret_cast< const Reference< XInterface > * >(&aData.pAsInterface)); in remove()
185 delete aData.pAsSequence; in ~OInterfaceContainerHelper()
186 else if( aData.pAsInterface ) in ~OInterfaceContainerHelper()
187 aData.pAsInterface->release(); in ~OInterfaceContainerHelper()
194 return aData.pAsSequence->getLength(); in getLength()
195 else if( aData.pAsInterface ) in getLength()
204 return *aData.pAsSequence; in getElements()
205 else if( aData.pAsInterface ) in getElements()
207 Reference<XInterface> x( aData.pAsInterface ); in getElements()
221 aData.pAsSequence = new Sequence< Reference< XInterface > >( *aData.pAsSequence ); in copyAndResetInUse()
222 else if( aData.pAsInterface ) in copyAndResetInUse()
223 aData.pAsInterface->acquire(); in copyAndResetInUse()
238 sal_Int32 nLen = aData.pAsSequence->getLength(); in addInterface()
239 realloc( *aData.pAsSequence, nLen +1 ); in addInterface()
240 aData.pAsSequence->getArray()[ nLen ] = rListener; in addInterface()
243 else if( aData.pAsInterface ) in addInterface()
247 pArray[0] = aData.pAsInterface; in addInterface()
249 aData.pAsInterface->release(); in addInterface()
250 aData.pAsSequence = pSeq; in addInterface()
256 aData.pAsInterface = rListener.get(); in addInterface()
272 const Reference<XInterface> * pL = aData.pAsSequence->getConstArray(); in removeInterface()
273 sal_Int32 nLen = aData.pAsSequence->getLength(); in removeInterface()
281 sequenceRemoveElementAt( *aData.pAsSequence, i ); in removeInterface()
293 sequenceRemoveElementAt(*aData.pAsSequence, i ); in removeInterface()
299 if( aData.pAsSequence->getLength() == 1 ) in removeInterface()
301 XInterface * p = aData.pAsSequence->getConstArray()[0].get(); in removeInterface()
303 delete aData.pAsSequence; in removeInterface()
304 aData.pAsInterface = p; in removeInterface()
309 return aData.pAsSequence->getLength(); in removeInterface()
311 else if( aData.pAsInterface && Reference<XInterface>( aData.pAsInterface ) == rListener ) in removeInterface()
313 aData.pAsInterface->release(); in removeInterface()
314 aData.pAsInterface = 0; in removeInterface()
316 return aData.pAsInterface ? 1 : 0; in removeInterface()
325 if( !bIsList && aData.pAsInterface ) in disposeAndClear()
326 aData.pAsInterface->release(); in disposeAndClear()
328 aData.pAsInterface = NULL; in disposeAndClear()
355 if( !bIsList && aData.pAsInterface ) in clear()
356 aData.pAsInterface->release(); in clear()
358 aData.pAsInterface = 0; in clear()