(file) Return to String.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/String.cpp between version 1.119.2.3 and 1.120

version 1.119.2.3, 2007/02/07 21:06:04 version 1.120, 2006/05/10 19:40:38
Line 842 
Line 842 
  
 String& String::append(const String& str) String& String::append(const String& str)
 { {
     return append((Char16*)(&(str._rep->data[0])), str._rep->size);      return append((Char16*)str._rep->data, str._rep->size);
 } }
  
 String& String::append(const char* str, Uint32 size) String& String::append(const char* str, Uint32 size)
Line 904 
Line 904 
         if (n == PEG_NOT_FOUND || n > _rep->size - index)         if (n == PEG_NOT_FOUND || n > _rep->size - index)
             n = _rep->size - index;             n = _rep->size - index;
  
         return String((Char16*)(_rep->data + index), n);          return String((Char16*)_rep->data + index, n);
     }     }
  
     return String();     return String();
Line 1136 
Line 1136 
     if (InitializeICU::initICUSuccessful())     if (InitializeICU::initICUSuccessful())
     {     {
         return  u_strcasecmp(         return  u_strcasecmp(
             (const UChar*)str1._rep->data,              str1._rep->data, str2._rep->data, U_FOLD_CASE_DEFAULT);
             (const UChar*)str2._rep->data,  
             U_FOLD_CASE_DEFAULT  
             );  
     }     }
  
 #endif /* PEGASUS_HAS_ICU */ #endif /* PEGASUS_HAS_ICU */


Legend:
Removed from v.1.119.2.3  
changed lines
  Added in v.1.120

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2