diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2015-11-19 22:49:59 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-11-23 14:28:01 +0000 |
commit | 96ff6372e15fa17211650ec6f0da13771a572a42 (patch) | |
tree | 389aecd310b4cd3883f128402b66839457a0d330 /svl/source/numbers/zformat.cxx | |
parent | d058765ff3c4f3aaa84c3f9bec774aed8a8b32a3 (diff) |
tdf#95677 Force sign to exponent for Excel export
Change-Id: I7896d1d064cd92fd45a6b32ac64f534f68213169
Reviewed-on: https://gerrit.libreoffice.org/20064
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'svl/source/numbers/zformat.cxx')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 479b28aacd80..690e045321d6 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -4861,6 +4861,11 @@ OUString SvNumberformat::GetMappedFormatstring( const NfKeywordTable& rKeywords, case NF_SYMBOLTYPE_THSEP : aStr.append( rLocWrp.getNumThousandSep() ); break; + case NF_SYMBOLTYPE_EXP : + // tdf#95677: Excel does not support exponent without sign + aStr.append( rKeywords[NF_KEY_E] ); + aStr.append( "+" ); + break; case NF_SYMBOLTYPE_DATESEP : aStr.append( rLocWrp.getDateSep() ); break; |