On 05/12/2013 07:25 PM, julien2412 wrote:
cppcheck reported this:
error file=svx/source/accessibility/svxrectctaccessiblecontext.cxx
line=612 id=incorrectLogicOperator severity=style msg=Logical
disjunction always evaluates to true: nIndex gt;= 0 || nIndex lt; 0./
Indeed we have in this file
Indeed, I hadn't noticed it was a virtual function and had just read the
function in the same file svxrectctaccessiblecontext.cxx which returned 0.
I don't know if cppcheck could take this into account.
Anyway, thank you Stephan for your respond.
Julien
--
View this message in context:
Hello,
cppcheck reported this:
error file=svx/source/accessibility/svxrectctaccessiblecontext.cxx
line=612 id=incorrectLogicOperator severity=style msg=Logical
disjunction always evaluates to true: nIndex gt;= 0 || nIndex lt; 0./
Indeed we have in this file that:
610 void