- Timestamp:
- 03/15/10 14:08:06 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/BAL/Internationalization/WebCore/Qt/BCTextBreakIteratorQt.cpp
r1126 r1404 41 41 TextBreakIterator* wordBreakIterator(const UChar* string, int length) 42 42 { 43 if (!string )43 if (!string || !length) 44 44 return 0; 45 45 if (!iterator) … … 52 52 TextBreakIterator* characterBreakIterator(const UChar* string, int length) 53 53 { 54 if (!string )54 if (!string || !length) 55 55 return 0; 56 56 if (!iterator) … … 69 69 { 70 70 static QTextBoundaryFinder *iterator = 0; 71 if (!string )71 if (!string || !length) 72 72 return 0; 73 73 if (!iterator) … … 80 80 TextBreakIterator* sentenceBreakIterator(const UChar* string, int length) 81 81 { 82 if (!string )82 if (!string || !length) 83 83 return 0; 84 84 if (!iterator)
