equal
deleted
inserted
replaced
811 return csSection - aCandidateStringStart; |
811 return csSection - aCandidateStringStart; |
812 } |
812 } |
813 // Because this function is using TUTF32Iterator, which means the |
813 // Because this function is using TUTF32Iterator, which means the |
814 // original author want to support surrogate. Take it as a defect and |
814 // original author want to support surrogate. Take it as a defect and |
815 // fix it, while do not define a new LocateMatchStringFoldedSurrogate(). |
815 // fix it, while do not define a new LocateMatchStringFoldedSurrogate(). |
816 if (IsSurrogate(*csSection)) |
816 if (TChar::IsSurrogate(*csSection)) |
817 ++csSection; |
817 ++csSection; |
818 } |
818 } |
819 // this should never happen! |
819 // this should never happen! |
820 ASSERT(0); |
820 ASSERT(0); |
821 return KErrNotFound; |
821 return KErrNotFound; |