Lines Matching refs:i
51 for( sal_uInt16 i=0; i<nCount; i++ ) in SV_IMPL_PTRARR() local
53 aPrefixPoss.Insert( rImpl.aPrefixPoss[i], i ); in SV_IMPL_PTRARR()
54 pLNames->Insert( new OUString( *(*rImpl.pLNames)[i] ), i ); in SV_IMPL_PTRARR()
55 pValues->Insert( new OUString( *(*rImpl.pValues)[i] ), i ); in SV_IMPL_PTRARR()
79 sal_uInt16 i; in operator ==() local
80 for( i=0; bRet && i < nCount; i++ ) in operator ==()
81 bRet = aPrefixPoss[i] == rCmp.aPrefixPoss[i]; in operator ==()
85 for( i=0; bRet && i < nCount; i++ ) in operator ==()
86 bRet = *(*pLNames)[i] == *(*rCmp.pLNames)[i] && in operator ==()
87 *(*pValues)[i] == *(*rCmp.pValues)[i]; in operator ==()
132 sal_Bool SvXMLAttrContainerData::SetAt( sal_uInt16 i, in SetAt() argument
135 if( i >= GetAttrCount() ) in SetAt()
138 *(*pLNames)[i] = rLName; in SetAt()
139 *(*pValues)[i] = rValue; in SetAt()
140 aPrefixPoss[i] = USHRT_MAX; in SetAt()
145 sal_Bool SvXMLAttrContainerData::SetAt( sal_uInt16 i, in SetAt() argument
149 if( i >= GetAttrCount() ) in SetAt()
156 *(*pLNames)[i] = rLName; in SetAt()
157 *(*pValues)[i] = rValue; in SetAt()
158 aPrefixPoss[i] = nPos; in SetAt()
163 sal_Bool SvXMLAttrContainerData::SetAt( sal_uInt16 i, in SetAt() argument
168 if( i >= GetAttrCount() ) in SetAt()
175 *(*pLNames)[i] = rLName; in SetAt()
176 *(*pValues)[i] = rValue; in SetAt()
177 aPrefixPoss[i] = nPos; in SetAt()
182 void SvXMLAttrContainerData::Remove( sal_uInt16 i ) in Remove() argument
184 if( i < GetAttrCount() ) in Remove()
186 delete (*pLNames)[i]; in Remove()
187 pLNames->Remove( i ); in Remove()
188 delete (*pValues)[i]; in Remove()
189 pValues->Remove( i ); in Remove()
190 aPrefixPoss.Remove( i ); in Remove()
203 const ::rtl::OUString& SvXMLAttrContainerData::GetAttrLName(sal_uInt16 i) const in GetAttrLName()
205 OSL_ENSURE( i < pLNames->Count(), "SvXMLAttrContainerData::GetLName: illegal index" ); in GetAttrLName()
206 return *(*pLNames)[i]; in GetAttrLName()
209 const ::rtl::OUString& SvXMLAttrContainerData::GetAttrValue(sal_uInt16 i) const in GetAttrValue()
211 OSL_ENSURE( i < pValues->Count(), "SvXMLAttrContainerData::GetValue: illegal index" ); in GetAttrValue()
212 return *(*pValues)[i]; in GetAttrValue()