diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-04 23:50:31 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-05 09:26:30 +0200 |
commit | 5be8c9cc1b92101e6f9fe5685df86e77d3eee3cc (patch) | |
tree | 3ab94d8dde0cf5df515c46c4866c254b32a0c410 /include/xmloff/xmlnumfe.hxx | |
parent | tdf#107569 Add small edit style icon (diff) | |
download | core-5be8c9cc1b92101e6f9fe5685df86e77d3eee3cc.tar.gz core-5be8c9cc1b92101e6f9fe5685df86e77d3eee3cc.zip |
Resolves: tdf#102075 support system [$-F400] time and [$-F800] long date
By substituting a (valid matching the type) format using these
special LCID modifier values with the current system locale's
format.
See ECMA-376-1:2016 18.8.31 numFmts (Number Formats) and
https://msdn.microsoft.com/en-us/library/documentformat.openxml.spreadsheet.numberingformats.aspx
which seems to be the only documentation available.
Change-Id: Ieca048a77d4ef473ae475e202557d1353ff5387d
Reviewed-on: https://gerrit.libreoffice.org/43148
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/xmloff/xmlnumfe.hxx')
-rw-r--r-- | include/xmloff/xmlnumfe.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx index c3c51ea57797..79df5c853f5d 100644 --- a/include/xmloff/xmlnumfe.hxx +++ b/include/xmloff/xmlnumfe.hxx @@ -92,10 +92,10 @@ private: SAL_DLLPRIVATE void WriteRepeatedElement_Impl( sal_Unicode ch ); SAL_DLLPRIVATE bool WriteTextWithCurrency_Impl( const OUString& rString, const css::lang::Locale& rLocale ); - SAL_DLLPRIVATE void ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey, + SAL_DLLPRIVATE void ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey, sal_uInt32 nRealKey, sal_uInt16 nPart, bool bDefPart ); - SAL_DLLPRIVATE void ExportFormat_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey ); + SAL_DLLPRIVATE void ExportFormat_Impl( const SvNumberformat& rFormat, sal_uInt32 nKey, sal_uInt32 nRealKey ); public: SvXMLNumFmtExport( SvXMLExport& rExport, |