diff options
author | Eike Rathke <erack@redhat.com> | 2019-05-10 17:26:57 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-05-10 20:57:52 +0200 |
commit | d77495060016c5e97d6e367c2a44fec83cf441f2 (patch) | |
tree | 63a37f9ee7ae454e6476fa5fc06a14cbc0f56d2c /include | |
parent | df3e1af532d937229b5b2e6621e582d459760f6a (diff) |
Apply duration format for such newly entered formula cells
... and the cell didn't have a number format applied already,
[HH]:MM:SS instead of wall clock time format HH:MM:SS which comes
to a surprise anyway if the result is >=24h.
Related to tdf#125099
Change-Id: I6c19a86177f8714ac588d6798acf86e247a79b26
Reviewed-on: https://gerrit.libreoffice.org/72131
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zforlist.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index 8caa7fb3d276..032809b8f82e 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -640,7 +640,7 @@ public: bool IsSpecialStandardFormat( sal_uInt32 nFIndex, LanguageType eLnge ); /** Return a time format that best matches fNumber. */ - sal_uInt32 GetTimeFormat( double fNumber, LanguageType eLnge ); + sal_uInt32 GetTimeFormat( double fNumber, LanguageType eLnge, bool bForceDuration ); /** Return a format and type that best matches the value of fNumber if fNumber is assumed to be a date, time or datetime value, but unknown |