Lines Matching refs:pImp
116 pImp(NULL) in SfxStringListItem()
124 pImp(NULL) in SfxStringListItem()
130 pImp = new SfxImpStringList; in SfxStringListItem()
138 pImp->aList.Insert( pStr2, LIST_APPEND ); in SfxStringListItem()
147 pImp(NULL) in SfxStringListItem()
153 pImp = new SfxImpStringList; in SfxStringListItem()
161 pImp->aList.Insert( pStr, LIST_APPEND ); in SfxStringListItem()
169 pImp(NULL) in SfxStringListItem()
171 pImp = rItem.pImp; in SfxStringListItem()
173 if( pImp ) in SfxStringListItem()
175 DBG_ASSERT(pImp->nRefCount!=0xffff,"ImpList not valid"); in SfxStringListItem()
176 pImp->nRefCount++; in SfxStringListItem()
184 if( pImp ) in ~SfxStringListItem()
186 DBG_ASSERT(pImp->nRefCount!=0xffff,"ImpList not valid"); in ~SfxStringListItem()
187 if( pImp->nRefCount > 1 ) in ~SfxStringListItem()
188 pImp->nRefCount--; in ~SfxStringListItem()
190 delete pImp; in ~SfxStringListItem()
198 if( !pImp ) in GetList()
199 pImp = new SfxImpStringList; in GetList()
200 DBG_ASSERT(pImp->nRefCount!=0xffff,"ImpList not valid"); in GetList()
201 return &(pImp->aList); in GetList()
212 if( pImp == pItem->pImp ) in operator ==()
258 if( !pImp ) in Store()
264 DBG_ASSERT(pImp->nRefCount!=0xffff,"ImpList not valid"); in Store()
266 long nCount = pImp->aList.Count(); in Store()
273 pStr = (String*)(pImp->aList.GetObject( i )); in Store()
286 if ( pImp && (pImp->nRefCount == 1) ) in SetString()
287 delete pImp; in SetString()
289 if( pImp ) in SetString()
290 pImp->nRefCount--; in SetString()
291 pImp = new SfxImpStringList; in SetString()
308 pImp->aList.Insert( pStr, LIST_APPEND ); in SetString()
314 if( pImp->aList.Last() && in SetString()
315 !((XubString*)pImp->aList.Last())->Len() ) in SetString()
316 delete (XubString*)pImp->aList.Remove( pImp->aList.Count()-1 ); in SetString()
324 if ( pImp ) in GetString()
326 DBG_ASSERT(pImp->nRefCount!=0xffff,"ImpList not valid"); in GetString()
327 XubString* pStr = (XubString*)(pImp->aList.First()); in GetString()
331 pStr = (XubString*)(pImp->aList.Next()); in GetString()
356 if( pImp ) in Sort()
357 pImp->Sort( bAscending, pParallelList ); in Sort()
365 if ( pImp && (pImp->nRefCount == 1) ) in SetStringList()
366 delete pImp; in SetStringList()
368 if( pImp ) in SetStringList()
369 pImp->nRefCount--; in SetStringList()
370 pImp = new SfxImpStringList; in SetStringList()
376 pImp->aList.Insert( pStr, LIST_APPEND ); in SetStringList()
383 long nCount = pImp->aList.Count(); in GetStringList()
387 rList[i] = *(String*)(pImp->aList.GetObject( i )); in GetStringList()