diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2015-11-07 18:45:31 +1000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-10 10:54:18 +0000 |
commit | f4a4bbce92fe753678b218c265f7180c306ddf73 (patch) | |
tree | 9b3fdf67b515a412baaebb7c3a96f7a99028e5ec /include | |
parent | a415a66f1af0944cac631bfd6b75c3d569e6f1df (diff) |
tdf#95650: Replace wrong assertion with condition
When UniscribeLayout::LayoutText(ImplLayoutArgs & rArgs) is run with
BiDiRtl flag, and some skipped VisualItems was reversed in lines 908-927,
it's possible that they will arrive in reverse order to the code adjusting
mnSubStringMin, so this assertion may fire.
This situation is not erroneous, so simply replacing the assert with "if".
Change-Id: Icb244502dd00b4c08a2c5192369ee66d743b0dcc
Reviewed-on: https://gerrit.libreoffice.org/19835
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions