<div dir="ltr"><br>+        bool isReordered = (nextBaseSlot && ((bRtl ^ (gr_slot_before(nextBaseSlot) < firstChar - mnSegCharOffset))<div>+                                             || gr_slot_before(nextBaseSlot) == firstChar - mnSegCharOffset));<div><br></div><div>Noticed because our clang plug-in doesn't like it: two instances of "implicit conversion (IntegralCast) from 'bool' to 'int' [loplugin:implicitboolconversion]" from the expression.</div><div><br></div><div>I suspect compilers are able to optimise this just fine even if it is written in human-readable form.</div><div><br></div><div>--tml</div><div><br></div></div></div>