To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=96621 Issue #|96621 Summary|svtools: ambiguous && || Component|utilities Version|DEV300m36 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|cd Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Wed Nov 26 15:06:19 +0000 2008 ------- in svtools/source/svhtml/parhtml.cxx we have... if( RTL_TEXTENCODING_UCS2 == eEnc && (0xfe == (sal_uChar)pHeader[0] && 0xff == (sal_uChar)pHeader[1]) || (0xff == (sal_uChar)pHeader[0] && 0xfe == (sal_uChar)pHeader[1]) ) which means if( (RTL_TEXTENCODING_UCS2 == eEnc && (0xfe == (sal_uChar)pHeader[0] && 0xff == (sal_uChar)pHeader[1])) || (0xff == (sal_uChar)pHeader[0] && 0xfe == (sal_uChar)pHeader[1]) ) by operator precedence, I strongly suspect we mean if ( RTL_TEXTENCODING_UCS2 == eEnc && ( (0xfe == (sal_uChar)pHeader[0] && 0xff == (sal_uChar)pHeader[1]) || (0xff == (sal_uChar)pHeader[0] && 0xfe == (sal_uChar)pHeader[1]) ) ) so patch attached to do that --------------------------------------------------------------------- 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]