summaryrefslogtreecommitdiff
path: root/sc/inc/helpids.h
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-02-26 19:40:30 +0100
committerEike Rathke <erack@redhat.com>2017-03-02 18:06:50 +0000
commitb2738c6f67cb650ac32228f3cd20b9dfe4b41c9c (patch)
tree53bae8a19dd4d2aefeb3dd3bef999eeba7a7b597 /sc/inc/helpids.h
parent7496f7d3cae8a932dc43ede8a30a99289366a264 (diff)
tdf#106190 fix left alignment of denominator
The bug was introduced with left aligment of denominator. Non feasable denominators were not tested and create infinite loop while inserting and removing the same space. This patch detects - if denominator starts just after fraction bar. Otherwise, format is faulty. - if a non digit is detected in the denominator, next part of format is treated as text This patch is changing behavior of some formats: "# ?/foo??" is treated as faulty format while it was considered as valid "# ?/??E?" is treated with 2 digits in denominator and "E?" at the end, while it was considered as faulty Change-Id: I0379a398dff79b6e21a44776c0d4356d066cdeab Reviewed-on: https://gerrit.libreoffice.org/34659 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/helpids.h')
0 files changed, 0 insertions, 0 deletions