Lines Matching refs:pValues
57 pValues( 0 ), in SV_IMPL_PTRARR()
64 pValues( 0 ), in SfxAllEnumItem()
75 pValues( 0 ), in SfxAllEnumItem()
86 pValues( 0 ), in SfxAllEnumItem()
98 pValues( 0 ), in SfxAllEnumItem()
109 pValues(0), in SfxAllEnumItem()
113 if ( !rCopy.pValues ) in SfxAllEnumItem()
116 pValues = new SfxAllEnumValueArr; in SfxAllEnumItem()
118 for ( sal_uInt16 nPos = 0; nPos < rCopy.pValues->Count(); ++nPos ) in SfxAllEnumItem()
121 pVal->nValue = rCopy.pValues->GetObject(nPos)->nValue; in SfxAllEnumItem()
122 pVal->aText = rCopy.pValues->GetObject(nPos)->aText; in SfxAllEnumItem()
124 pValues->Insert( pTemp, nPos ); in SfxAllEnumItem()
143 delete pValues; in ~SfxAllEnumItem()
152 return pValues ? pValues->Count() : 0; in GetValueCount()
160 DBG_ASSERT( pValues && nPos < pValues->Count(), "enum overflow" ); in GetValueTextByPos()
161 return pValues->GetObject(nPos)->aText; in GetValueTextByPos()
169 DBG_ASSERT( pValues && nPos < pValues->Count(), "enum overflow" ); in GetValueByPos()
170 return pValues->GetObject(nPos)->nValue; in GetValueByPos()
204 if ( !pValues ) in _GetPosByValue()
209 for ( nPos = 0; nPos < pValues->Count(); ++nPos ) in _GetPosByValue()
210 if ( pValues->GetObject(nPos)->nValue >= nVal ) in _GetPosByValue()
229 if ( !pValues || !pValues->Count() ) in GetPosByValue()
244 if ( !pValues ) in InsertValue()
245 pValues = new SfxAllEnumValueArr; in InsertValue()
250 pValues->Insert( pTemp, _GetPosByValue(nValue) ); //! doppelte?! in InsertValue()
262 if ( !pValues ) in InsertValue()
263 pValues = new SfxAllEnumValueArr; in InsertValue()
265 pValues->Insert( pTemp, _GetPosByValue(nValue) ); //! doppelte?! in InsertValue()
296 pValues->Remove( nPos ); in RemoveValue()
305 if ( pValues ) in RemoveAllValues()
306 pValues->DeleteAndDestroy( 0, pValues->Count() ); in RemoveAllValues()