Lines Matching refs:pCaches

149     SfxStateCacheArr_Impl*  pCaches;        // je ein cache fuer jede gebundene  member in SfxBindings_Impl
237 pImp->pCaches = new SfxStateCacheArr_Impl; in SfxBindings()
268 sal_uInt16 nCount = pImp->pCaches->Count(); in ~SfxBindings()
270 delete pImp->pCaches->GetObject(nCache); in ~SfxBindings()
274 delete pImp->pCaches; in ~SfxBindings()
283 sal_uInt16 nCount = pImp->pCaches->Count(); in DeleteControllers_Impl()
288 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache); in DeleteControllers_Impl()
295 sal_uInt16 nNewCount = pImp->pCaches->Count(); in DeleteControllers_Impl()
300 nSlotId != pImp->pCaches->GetObject(nCache)->GetId() ) in DeleteControllers_Impl()
307 for ( nCache = pImp->pCaches->Count(); nCache > 0; --nCache ) in DeleteControllers_Impl()
310 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache-1); in DeleteControllers_Impl()
325 if( nCache-1 < pImp->pCaches->Count() ) in DeleteControllers_Impl()
326 delete (*pImp->pCaches)[nCache-1]; in DeleteControllers_Impl()
327 pImp->pCaches->Remove(nCache-1, 1); in DeleteControllers_Impl()
384 for ( sal_uInt16 nCache = 0; nCache < pImp->pCaches->Count(); ++nCache ) in HidePopupCtrls_Impl()
385 pImp->pCaches->GetObject(nCache)->DeleteFloatingWindows(); in HidePopupCtrls_Impl()
479 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Update()
546 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Update()
666 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in GetStateCache()
671 if ( nPos < pImp->pCaches->Count() && in GetStateCache()
672 (*pImp->pCaches)[nPos]->GetId() == nId ) in GetStateCache()
676 return (*pImp->pCaches)[nPos]; in GetStateCache()
713 for ( sal_uInt16 n = 0; n < pImp->pCaches->Count(); ++n ) in InvalidateAll()
714 pImp->pCaches->GetObject(n)->Invalidate(bWithMsg); in InvalidateAll()
768 *pIds && n < pImp->pCaches->Count(); in Invalidate()
772 SfxStateCache *pCache = pImp->pCaches->GetObject(n); in Invalidate()
840 for ( sal_uInt16 n = 0; n < pImp->pCaches->Count(); ++n ) in InvalidateShell()
842 SfxStateCache *pCache = pImp->pCaches->GetObject(n); in InvalidateShell()
943 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in IsBound()
952 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in GetSlotPos()
956 if ( pImp->nCachedFunc1 < pImp->pCaches->Count() && in GetSlotPos()
957 (*pImp->pCaches)[pImp->nCachedFunc1]->GetId() == nId ) in GetSlotPos()
963 if ( pImp->nCachedFunc2 < pImp->pCaches->Count() && in GetSlotPos()
964 (*pImp->pCaches)[pImp->nCachedFunc2]->GetId() == nId ) in GetSlotPos()
977 if ( pImp->pCaches->Count() <= nStartSearchAt ) in GetSlotPos()
982 if ( pImp->pCaches->Count() == (nStartSearchAt+1) ) in GetSlotPos()
985 return (*pImp->pCaches)[nStartSearchAt]->GetId() >= nId ? 0 : 1; in GetSlotPos()
991 nHigh = pImp->pCaches->Count() - 1; in GetSlotPos()
995 DBG_ASSERT( nMid < pImp->pCaches->Count(), "bsearch ist buggy" ); in GetSlotPos()
996 int nDiff = (int) nId - (int) ( ((*pImp->pCaches)[nMid])->GetId() ); in GetSlotPos()
1011 DBG_ASSERT( nPos <= pImp->pCaches->Count(), "" ); in GetSlotPos()
1012 DBG_ASSERT( nPos == pImp->pCaches->Count() || in GetSlotPos()
1013 nId <= (*pImp->pCaches)[nPos]->GetId(), "" ); in GetSlotPos()
1015 nId > (*pImp->pCaches)[nPos-1]->GetId(), "" ); in GetSlotPos()
1016 DBG_ASSERT( ( (nPos+1) >= pImp->pCaches->Count() ) || in GetSlotPos()
1017 nId < (*pImp->pCaches)[nPos+1]->GetId(), "" ); in GetSlotPos()
1044 if ( nPos >= pImp->pCaches->Count() || in Register_Impl()
1045 (*pImp->pCaches)[nPos]->GetId() != nId ) in Register_Impl()
1048 pImp->pCaches->Insert( nPos, pCache ); in Register_Impl()
1050 (*pImp->pCaches)[nPos]->GetId() > in Register_Impl()
1051 (*pImp->pCaches)[nPos-1]->GetId(), "" ); in Register_Impl()
1052 DBG_ASSERT( (nPos == pImp->pCaches->Count()-1) || in Register_Impl()
1053 (*pImp->pCaches)[nPos]->GetId() < in Register_Impl()
1054 (*pImp->pCaches)[nPos+1]->GetId(), "" ); in Register_Impl()
1061 (*pImp->pCaches)[nPos]->SetInternalController( &rItem ); in Register_Impl()
1065 SfxControllerItem *pOldItem = (*pImp->pCaches)[nPos]->ChangeItemLink(&rItem); in Register_Impl()
1075 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Release()
1083 SfxStateCache* pCache = (*pImp->pCaches)[nPos]; in Release()
1113 delete (*pImp->pCaches)[nPos]; in Release()
1114 pImp->pCaches->Remove(nPos, 1); in Release()
1128 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in ExecuteSynchron()
1140 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in Execute()
1362 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in UpdateSlotServer_Impl()
1382 const sal_uInt16 nCount = pImp->pCaches->Count(); in UpdateSlotServer_Impl()
1385 SfxStateCache *pCache = pImp->pCaches->GetObject(i); in UpdateSlotServer_Impl()
1423 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in CreateSet_Impl()
1683 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in IMPL_LINK()
1702 …pFrame->GetObjectShell()->AcceptStateUpdate()) || pSfxApp->IsDowning() || !pImp->pCaches->Count() ) in IMPL_LINK()
1731 const sal_uInt16 nCount = pImp->pCaches->Count(); in IMPL_LINK()
1738 SfxStateCache* pCache = (*pImp->pCaches)[pImp->nMsgPos]; in IMPL_LINK()
1760 DBG_ASSERT( nCount == pImp->pCaches->Count(), in IMPL_LINK()
1794 SfxStateCache* pCache = (*pImp->pCaches)[n]; in IMPL_LINK()
1926 for ( sal_uInt16 nCache = pImp->pCaches->Count(); nCache > 0; --nCache ) in LeaveRegistrations()
1929 SfxStateCache *pCache = pImp->pCaches->GetObject(nCache-1); in LeaveRegistrations()
1935 SfxStateCache* pSfxStateCache = (*pImp->pCaches)[nCache-1]; in LeaveRegistrations()
1936 pImp->pCaches->Remove(nCache-1, 1); in LeaveRegistrations()
1951 if ( pImp->pCaches && pImp->pCaches->Count() ) in LeaveRegistrations()
1986 DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" ); in GetSlot()