The code was like that ever since 84a3db80b4fd66c6854b3135b5f69b61fd828e62 "initial import" but looks very much like the intent was to make the conditional operator bind tighter than the less-than operator.
0b49aaf loplugin:implicitboolconversion gold?
sw/source/core/edit/ednumber.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Upstream: cgit.freedesktop.org