emailuis/emailui/src/ncsaifeditor.cpp
branchRCL_3
changeset 8 e1b6206813b4
parent 4 e7aa27f58ae1
child 12 f5907b1a1053
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
  1085 	
  1085 	
  1086 	if (text == NULL) return NULL;
  1086 	if (text == NULL) return NULL;
  1087 
  1087 
  1088 	CleanupStack::PushL( text );
  1088 	CleanupStack::PushL( text );
  1089 	TPtr ptr( text->Des() );
  1089 	TPtr ptr( text->Des() );
  1090 	ptr = ptr.LeftTPtr( CursorPos() );
       
  1091 	TInt location = ptr.LocateReverse( KCharAddressDelimeterSemiColon );
  1090 	TInt location = ptr.LocateReverse( KCharAddressDelimeterSemiColon );
  1092 	if( location != KErrNotFound )
  1091 	if( location != KErrNotFound )
  1093         {
  1092         {
  1094 		ptr = ptr.RightTPtr( ptr.Length() - location -1 );
  1093 		ptr = ptr.RightTPtr( ptr.Length() - location -1 );
  1095 		ptr.TrimLeft();
  1094 		ptr.TrimLeft();