webengine/osswebengine/WebCore/platform/StringImpl.cpp
changeset 15 60c5402cb945
parent 0 dd21522fd290
child 40 8bfb9186a8b8
equal deleted inserted replaced
11:c8a366e56285 15:60c5402cb945
   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