webengine/osswebengine/WebCore/platform/StringImpl.cpp
changeset 15 60c5402cb945
parent 0 dd21522fd290
child 40 8bfb9186a8b8
--- a/webengine/osswebengine/WebCore/platform/StringImpl.cpp	Thu Sep 24 12:53:48 2009 +0300
+++ b/webengine/osswebengine/WebCore/platform/StringImpl.cpp	Mon Oct 26 08:28:45 2009 +0200
@@ -491,14 +491,13 @@
 
 #if PLATFORM(SYMBIAN)
 
-StringImpl* StringImpl::secureShowLast(UChar aChar) const
+StringImpl* StringImpl::secureShowOffset(UChar aChar, unsigned offset) const
 {
     StringImpl* temp = secure(aChar);
     if (m_data && temp) {
-        temp->remove(m_length-1);
-        temp->insert(&(m_data[m_length-1]), 1, m_length-1);
+        temp->remove(offset);
+        temp->insert(&(m_data[offset]), 1, offset);
         }
-    
     return temp; 
 }