Kaydet (Commit) e50f90bd authored tarafından Serge Krot's avatar Serge Krot Kaydeden (comit) Katarina Behrens

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: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst 9c51e6fb
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment