bidi, the gift that keeps on giving

Change-Id: Ia33eb3e4c89963d7391df0339a2a5b948efd0d9f
(cherry picked from commit 854bf7399a635928e6c155ef2246d636ab11ec13)
Reviewed-on: https://gerrit.libreoffice.org/11166
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>