[Libreoffice-commits] core.git: Branch 'distro/lhm/libreoffice-5-2+backports' - svl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 1 18:34:03 UTC 2018
svl/source/numbers/zforlist.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit b8c475e83bc1804874a09e5bbcbf6954601ada02
Author: Serge Krot <Serge.Krot at cib.de>
AuthorDate: Fri Oct 5 21:17:44 2018 +0200
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Thu Nov 1 19:33:37 2018 +0100
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>
Reviewed-on: https://gerrit.libreoffice.org/62749
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 0747e0c2a326..d2720444f5e7 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1468,6 +1468,9 @@ sal_uInt32 SvNumberFormatter::GetEditFormat( double fNumber, sal_uInt32 nFIndex,
else
nKey = GetFormatIndex( NF_DATETIME_SYS_DDMMYYYY_HHMMSS, eLang );
break;
+ case css::util::NumberFormat::NUMBER:
+ nKey = GetStandardFormat( eType, eLang );
+ break;
default:
nKey = GetStandardFormat( fNumber, nFIndex, eType, eLang );
}
More information about the Libreoffice-commits
mailing list