To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113329
                 Issue #|113329
                 Summary|sw: && || ambiguity in frmtool.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 c...@openoffice.org Wed Jul 21 11:22:17 +0000 
2010 -------
in frmtool.cxx we have...
if( pSct && ( pFtnFrm && !pSct->IsInFtn() ) || pUpper->IsCellFrm() )
    pSct = NULL;

by precedence thats...

if( (pSct && (pFtnFrm && !pSct->IsInFtn())) || pUpper->IsCellFrm() )

seeing as the target is to set pSct to NULL, then there's no point doing it if
its already NULL so this likely should be...

if( pSct && ((pFtnFrm && !pSct->IsInFtn()) || pUpper->IsCellFrm()) )
    pSct = NULL;

---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to