Index: Source/core/editing/TextCheckingHelper.cpp |
diff --git a/Source/core/editing/TextCheckingHelper.cpp b/Source/core/editing/TextCheckingHelper.cpp |
index 33471b3344e82a97f8d8645b322b6558efee70d0..663c80397306141dcfc67df42b85ff593b71e2be 100644 |
--- a/Source/core/editing/TextCheckingHelper.cpp |
+++ b/Source/core/editing/TextCheckingHelper.cpp |
@@ -73,9 +73,9 @@ static void findMisspellings(TextCheckerClient& client, const UChar* text, int s |
TextBreakIterator* iterator = wordBreakIterator(text + start, length); |
if (!iterator) |
return; |
- int wordStart = textBreakCurrent(iterator); |
+ int wordStart = iterator->current(); |
while (0 <= wordStart) { |
- int wordEnd = textBreakNext(iterator); |
+ int wordEnd = iterator->current(); |
leviw_travelin_and_unemployed
2013/09/17 21:53:39
It seems strange to me that these 2 lines are the
|
if (wordEnd < 0) |
break; |
int wordLength = wordEnd - wordStart; |