https://bugs.documentfoundation.org/show_bug.cgi?id=120773

            Bug ID: 120773
           Summary: core/dbaccess/source/ui/browser/sbagrid.cxx:1265:
                    possible typo in if expression ?
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: dcb...@hotmail.com

core/dbaccess/source/ui/browser/sbagrid.cxx:1265]: (style) Same expression on
both sides of '||'.

Source code is

        if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) || nCol
== 0  || nCol == BROWSER_INVALIDID )

Maybe better code

        if ((nCol == BROWSER_INVALIDID) || (nRow >= nCorrectRowCount) || nCol
== 0  || nRow == BROWSER_INVALIDID )

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to