To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96155
Issue #|96155
Summary|desktop: dubious && ||
Component|framework
Version|DEV300m35
Platform|All
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|code
Assigned to|mba
Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Wed Nov 12 14:32:42 +0000
2008 -------
in desktop/source/offacc/acceptor.cxx
we have
if ((nArgs == 1 && (aArguments[0] >>= bEnable) )
|| (nArgs == 2 && (aArguments[1] >>= bEnable))
&& bEnable )
by operator precedence that's equivalent to
if (
(nArgs == 1 && (aArguments[0] >>= bEnable)) ||
((nArgs == 2 && (aArguments[1] >>= bEnable)) && bEnable)
)
(as attachment 1 makes explicit if this is what we want)
But that looks sort of dubious, did we really mean
if (
(
(nArgs == 1 && (aArguments[0] >>= bEnable)) ||
(nArgs == 2 && (aArguments[1] >>= bEnable))
) && bEnable
)
if so, then attachment 2 fixes this
---------------------------------------------------------------------
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]