To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96114
Issue #|96114
Summary|rtf: suspicious ambiguous && ||
Component|Word processor
Version|DEV300m35
Platform|All
URL|
OS/Version|Linux
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|PATCH
Priority|P3
Subcomponent|save-export
Assigned to|ama
Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Tue Nov 11 17:03:20 +0000
2008 -------
in sw/source/filter/rtf/wrtrtf.cxx
we have
if( nsUseOnPage::PD_MIRROR & pAktPageDesc->GetUseOn() &&
!pAktPageDesc->IsFooterShared() || !pAktPageDesc->IsHeaderShared() )
which expanded by operator precedence is
if( (nsUseOnPage::PD_MIRROR & pAktPageDesc->GetUseOn() &&
!pAktPageDesc->IsFooterShared()) || !pAktPageDesc->IsHeaderShared() )
which looks real suspicious, it might have been intended to be
if (
(nsUseOnPage::PD_MIRROR & pAktPageDesc->GetUseOn()) &&
(!pAktPageDesc->IsFooterShared() || !pAktPageDesc->IsHeaderShared())
)
If the second was intended, then the attached patch changes it to 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]