equal
deleted
inserted
replaced
489 return c; |
489 return c; |
490 } |
490 } |
491 |
491 |
492 #if PLATFORM(SYMBIAN) |
492 #if PLATFORM(SYMBIAN) |
493 |
493 |
494 StringImpl* StringImpl::secureShowLast(UChar aChar) const |
494 StringImpl* StringImpl::secureShowOffset(UChar aChar, unsigned offset) const |
495 { |
495 { |
496 StringImpl* temp = secure(aChar); |
496 StringImpl* temp = secure(aChar); |
497 if (m_data && temp) { |
497 if (m_data && temp) { |
498 temp->remove(m_length-1); |
498 temp->remove(offset); |
499 temp->insert(&(m_data[m_length-1]), 1, m_length-1); |
499 temp->insert(&(m_data[offset]), 1, offset); |
500 } |
500 } |
501 |
|
502 return temp; |
501 return temp; |
503 } |
502 } |
504 |
503 |
505 #endif |
504 #endif |
506 |
505 |