| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * Copyright (C) 1998-2010, International Business Machines Corporation and | 3 * Copyright (C) 1998-2010, International Business Machines Corporation and |
| 4 * others. All Rights Reserved. | 4 * others. All Rights Reserved. |
| 5 ****************************************************************************** | 5 ****************************************************************************** |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #if defined(_MSC_VER) && defined(_HAS_EXCEPTIONS) && !_HAS_EXCEPTIONS |
| 9 #include <exception> |
| 10 using std::exception; |
| 11 #endif |
| 8 #include <typeinfo> // for 'typeid' to work | 12 #include <typeinfo> // for 'typeid' to work |
| 9 | 13 |
| 10 #include "unicode/uchriter.h" | 14 #include "unicode/uchriter.h" |
| 11 #include "unicode/ustring.h" | 15 #include "unicode/ustring.h" |
| 12 #include "uhash.h" | 16 #include "uhash.h" |
| 13 | 17 |
| 14 U_NAMESPACE_BEGIN | 18 U_NAMESPACE_BEGIN |
| 15 | 19 |
| 16 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UCharCharacterIterator) | 20 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UCharCharacterIterator) |
| 17 | 21 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 end = textLength = newTextLength; | 359 end = textLength = newTextLength; |
| 356 pos = begin = 0; | 360 pos = begin = 0; |
| 357 } | 361 } |
| 358 | 362 |
| 359 void | 363 void |
| 360 UCharCharacterIterator::getText(UnicodeString& result) { | 364 UCharCharacterIterator::getText(UnicodeString& result) { |
| 361 result = UnicodeString(text, textLength); | 365 result = UnicodeString(text, textLength); |
| 362 } | 366 } |
| 363 | 367 |
| 364 U_NAMESPACE_END | 368 U_NAMESPACE_END |
| OLD | NEW |