[SOLVED] Re: Cppcheck: incorrectLogicOperator in svxrectctaccessiblecontext.cxx (in svx module)

2013-05-13 Thread julien2412
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: http:/

Re: Cppcheck: incorrectLogicOperator in svxrectctaccessiblecontext.cxx (in svx module)

2013-05-13 Thread Stephan Bergmann
On 05/12/2013 07:25 PM, julien2412 wrote: cppcheck reported this: Indeed we have in this file that: 610 void SvxRectCtlAccessibleContext::checkChildIndex( long nIndex ) throw( lang::IndexOutOfBoundsException ) 611 { 612 if( nIndex < 0 || nIndex >= getAccessibleChildCount() )

Cppcheck: incorrectLogicOperator in svxrectctaccessiblecontext.cxx (in svx module)

2013-05-12 Thread julien2412
Hello, cppcheck reported this: Indeed we have in this file that: 610 void SvxRectCtlAccessibleContext::checkChildIndex( long nIndex ) throw( lang::IndexOutOfBoundsException ) 611 { 612 if( nIndex < 0 || nIndex >= getAccessibleChildCount() ) 613 throw lang::IndexOutOfB