summaryrefslogtreecommitdiffstats
path: root/include/xmloff/xmlnumfe.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-10-04 23:50:31 +0200
committerEike Rathke <erack@redhat.com>2017-10-05 09:26:30 +0200
commit5be8c9cc1b92101e6f9fe5685df86e77d3eee3cc (patch)
tree3ab94d8dde0cf5df515c46c4866c254b32a0c410 /include/xmloff/xmlnumfe.hxx
parenttdf#107569 Add small edit style icon (diff)
downloadcore-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.hxx4
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,