equal
deleted
inserted
replaced
172 // Second TInt = Location in the pool |
172 // Second TInt = Location in the pool |
173 // Required for memory optimization so that more than one pool |
173 // Required for memory optimization so that more than one pool |
174 // element doesn't get added for the same data |
174 // element doesn't get added for the same data |
175 RHashMap<TInt, TInt> elementHash; |
175 RHashMap<TInt, TInt> elementHash; |
176 CleanupClosePushL( elementHash ); |
176 CleanupClosePushL( elementHash ); |
177 TLinearOrder<CPcsPoolElement> rule( CPcsPoolElement::CompareByData ); |
177 TLinearOrder<CPcsPoolElement> rule( CPcsPoolElement::CompareByDataL ); |
178 |
178 |
179 TBool unnamed = ETrue; |
179 TBool unnamed = ETrue; |
180 // Parse thru each data element |
180 // Parse thru each data element |
181 for ( TInt dataIndex = 0; dataIndex < aData.DataElementCount(); dataIndex++ ) |
181 for ( TInt dataIndex = 0; dataIndex < aData.DataElementCount(); dataIndex++ ) |
182 { |
182 { |