equal
deleted
inserted
replaced
39 Assign(aUtf8Str.c_str(),aUtf8Str.length()); |
39 Assign(aUtf8Str.c_str(),aUtf8Str.length()); |
40 } |
40 } |
41 UTF16String::UTF16String(const TUint16* aUtf16Str,TInt aLength /* = -1*/){ |
41 UTF16String::UTF16String(const TUint16* aUtf16Str,TInt aLength /* = -1*/){ |
42 |
42 |
43 if(aLength < 0){ |
43 if(aLength < 0){ |
|
44 aLength = 0 ; |
44 const TUint16* p = aUtf16Str ; |
45 const TUint16* p = aUtf16Str ; |
45 while(*p){ |
46 while(*p){ |
46 p++ ; |
47 p++ ; |
47 aLength ++ ; |
48 aLength ++ ; |
48 } |
49 } |