To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113185
                 Issue #|113185
                 Summary|sw: && || ambiguity in docftn.cxx
               Component|Word processor
                 Version|DEV300m84
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ama
             Reported by|cmc





------- Additional comments from [email protected] Fri Jul 16 10:27:18 +0000 
2010 -------
in sw/source/core/doc/docftn we have...

BOOL bExtra   = !bNumChg &&   
  rInfo.aFmt.GetNumberingType() != GetEndNoteInfo().aFmt.GetNumberingType()||
  rInfo.GetPrefix() != GetEndNoteInfo().GetPrefix() ||
  rInfo.GetSuffix() != GetEndNoteInfo().GetSuffix();

by precedence this is...

BOOL bExtra = 
  (
    !bNumChg && rInfo.aFmt.GetNumberingType() !=
    GetEndNoteInfo().aFmt.GetNumberingType()
  )
  || rInfo.GetPrefix() != GetEndNoteInfo().GetPrefix()
  || rInfo.GetSuffix() != GetEndNoteInfo().GetSuffix();

but there's a small possibility we might have meant

BOOL bExtra = !bNumChg &&
(
  rInfo.aFmt.GetNumberingType() != GetEndNoteInfo().aFmt.GetNumberingType() ||
  rInfo.GetPrefix() != GetEndNoteInfo().GetPrefix() ||
  rInfo.GetSuffix() != GetEndNoteInfo().GetSuffix()
);

---------------------------------------------------------------------
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]

Reply via email to