+        bool isReordered = (nextBaseSlot && ((bRtl ^
(gr_slot_before(nextBaseSlot) < firstChar - mnSegCharOffset))
+                                             ||
gr_slot_before(nextBaseSlot) == firstChar - mnSegCharOffset));

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.

I suspect compilers are able to optimise this just fine even if it is
written in human-readable form.

--tml
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to