Kaydet (Commit) c0639f09 authored tarafından Laurent Balland-Poirier's avatar Laurent Balland-Poirier Kaydeden (comit) Andras Timar

tdf#95677 Force sign to exponent for Excel export

Change-Id: I7896d1d064cd92fd45a6b32ac64f534f68213169
Reviewed-on: https://gerrit.libreoffice.org/20064Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
(cherry picked from commit 96ff6372)
Reviewed-on: https://gerrit.libreoffice.org/20126
(cherry picked from commit bad71e69)
üst 22040edd
......@@ -4846,6 +4846,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment