diff options
author | Xisco Fauli <anistenis@gmail.com> | 2015-11-25 20:03:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-11-26 12:18:05 +0000 |
commit | fa17cfd7e006c73f1360a5a974f38d9875f347c5 (patch) | |
tree | 33d6fc00781d448c9a4dde65eb1005f309376589 /xmlhelp/source/cxxhelp/provider | |
parent | 4424daa225e73d291a3fd64d369cdda5857f3d51 (diff) |
tdf#96046 SVG: Parse 'em' and 'ex' units correctly
the problem is that real_p parses the 'e' in 'em' and 'ex' as the exponential
operator instead of as a str.
Change it to parse sequencies like: (11) (1.1) (1,1) (.1) (,1) (1.) (1,)
but now the parser returns a std::string so we need to convert it to double,
and make sure the commas are converted to dots too.
Change-Id: I913be7975e7db1be4773f528fd0d586db67c9461
Reviewed-on: https://gerrit.libreoffice.org/20181
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider')
0 files changed, 0 insertions, 0 deletions