To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96636
                 Issue #|96636
                 Summary|dbaccess: ambiguous && ||
               Component|Database access
                 Version|DEV300m36
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|none
             Assigned to|fs
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Wed Nov 26 23:19:44 +0000 
2008 -------
in dbaccess/source/ui/control/FieldDescControl.cxx we have...

if ( pFieldType.get() && !pFieldType->bNullable || !pFieldDescr->IsNullable() )

which by operator precedence is equal to

if ( (pFieldType.get() && !pFieldType->bNullable) || !pFieldDescr->IsNullable() 
)

It seems likely we really mean...

if ( pFieldType.get() && (!pFieldType->bNullable || !pFieldDescr->IsNullable()) 
)

if so then the attached patch does 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]

Reply via email to