equal
deleted
inserted
replaced
228 return EInsufficientSystemMemory; |
228 return EInsufficientSystemMemory; |
229 } |
229 } |
230 |
230 |
231 if(minusone != wcstombs(buf, (const wchar_t*)aSrc, wlen*2)) |
231 if(minusone != wcstombs(buf, (const wchar_t*)aSrc, wlen*2)) |
232 { |
232 { |
233 if (KErrNone == aDes.Create(wlen*2)) |
233 aDes.Copy((const unsigned char *)buf, wlen*2); |
234 { |
|
235 aDes.Copy((const unsigned char *)buf, wlen*2); |
|
236 } |
|
237 else |
|
238 { |
|
239 retval = EInsufficientSystemMemory; |
|
240 } |
|
241 } |
234 } |
242 else |
235 else |
243 { |
236 { |
244 retval = EInvalidWCSSequence; |
237 retval = EInvalidWCSSequence; |
245 } |
238 } |