diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2017-03-16 23:45:13 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-04-06 14:09:52 +0000 |
commit | 2fd110a78d03510d031c4c6cf6ad380d82899df8 (patch) | |
tree | 985ad9e1ec77a3a904972f0beecc147d91325773 /include/svl/eitem.hxx | |
parent | a016ac1667cdf7fb81a78b51a6aaab455e376782 (diff) |
tdf#106190 Fix (again) left alignment of denominator
Instead of moving spaces from left to right, like it was done
previously, this patch insert spaces directly on right
when in denominator
This avoid complex calculation when user enter such (stupid)
format:
# ?/ ???
or
# ?/" hello world "???
In SvNumberformat::ImpNumberFill, for NF_SYMBOLTYPE_FRAC_FDIV
you need at least to move in sBuf, to insert text at the
expected place for (stupid) format like
# ?/ 100
or
# ?/" hello world "100
All these formats works, but are stored in ODF with text
after fraction
Change-Id: I296e60643e93242b8006848a643135219ad4ad0c
Reviewed-on: https://gerrit.libreoffice.org/35320
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/svl/eitem.hxx')
0 files changed, 0 insertions, 0 deletions