[Libreoffice-commits] core.git: svl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Oct 22 14:01:48 UTC 2018
svl/source/numbers/zforlist.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit e50f90bd21dc1116e5f1defc73f230ef1b687315
Author: Serge Krot <Serge.Krot at cib.de>
AuthorDate: Fri Oct 5 21:17:44 2018 +0200
Commit: Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Mon Oct 22 16:01:27 2018 +0200
sc: avoid checking for time formats in case of SvNumFormatType::NUMBER
Change-Id: I565506d58f2dd94a6c2c5e1c4a2000ce1f9752cf
Reviewed-on: https://gerrit.libreoffice.org/61445
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 023bc3788793..414084b4e89b 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1497,6 +1497,9 @@ sal_uInt32 SvNumberFormatter::GetEditFormat( double fNumber, sal_uInt32 nFIndex,
else
nKey = GetFormatIndex( NF_DATETIME_SYS_DDMMYYYY_HHMMSS, eLang );
break;
+ case SvNumFormatType::NUMBER:
+ nKey = GetStandardFormat( eType, eLang );
+ break;
default:
nKey = GetStandardFormat( fNumber, nFIndex, eType, eLang );
}
More information about the Libreoffice-commits
mailing list