To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=96133 Issue #|96133 Summary|i18npool: ambiguous && || Component|l10n Version|DEV300m35 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|i18npool Assigned to|pjanik Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Wed Nov 12 09:42:34 +0000 2008 ------- in i18npool/source/breakiterator/breakiteratorImpl.cxx we have in case WordType::WORD_COUNT: while (nPos > 0 && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, -1))) || isZWSP(ch)) nPos=pos; operator precedence of && before || gives this the meaning of while ((nPos > 0 && (u_isUWhiteSpace(ch = Text.iterateCodePoints(&pos, -1)))) || isZWSP(ch)) nPos=pos; (as attachment one does to make it explicit) but looking at the *other* case statements that looks a little suspicious, the other similar ones do... while (nPos > 0 && (u_isWhitespace(ch = Text.iterateCodePoints(&pos, -1)) || isZWSP(ch))) nPos=pos; so the intent *might* have been as in attachment 2 to make the logic equivalent to the other types --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]