summaryrefslogtreecommitdiff
path: root/svl/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-12-21 17:51:48 +0100
committerEike Rathke <erack@redhat.com>2011-12-21 18:06:23 +0100
commit6c37252eb93db161edfd234696604774e9ee1d8c (patch)
tree35d9df157ea2e4a94f6a837265bdaf65952694a9 /svl/inc
parent98d75b3506520bd5db7071a2d9379fb7c565b9d9 (diff)
resolved fdo#37978 - Date formatting in Spreadsheet is inconsistent
* SvNumberFormatter::IsNumberFormat() ISO 8601 date input results in yyyy-mm-dd format if no other date format was set. * SvNumberFormatter::GetInputLineString() preserves ISO 8601 date format for editing if such was set.
Diffstat (limited to 'svl/inc')
-rw-r--r--svl/inc/svl/zforlist.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index afcb3268acd8..ffae6290fcf8 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -595,6 +595,9 @@ public:
/// Whether nFIndex is a special builtin format
bool IsSpecialStandardFormat( sal_uInt32 nFIndex, LanguageType eLnge );
+ /** Return the corresponding edit format of a format. */
+ sal_uInt32 GetEditFormat( double fNumber, sal_uInt32 nFIndex, short eType, LanguageType eLnge );
+
/// Return the reference date
Date* GetNullDate();
/// Return the standard decimal precision