[Libreoffice-commits] core.git: svl/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 8 10:03:55 UTC 2020
svl/source/numbers/zformat.cxx | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 055dd53e00c28b8d635228a07667c78218910436
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Jan 8 08:33:30 2020 +0100
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Jan 8 11:03:22 2020 +0100
Drop duplicating range check
This is checked several lines below, with much stricter range.
Change-Id: I3bfaf71f9e40dd1af089ed1ac238bc2939d0fc3a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86392
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
Tested-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 273df728b784..0a8f23f0bfeb 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -3035,14 +3035,6 @@ bool SvNumberformat::ImpGetTimeOutput(double fNumber,
}
}
const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info();
- if (rInfo.bThousand) // [] format
- {
- if (fNumber > 1.0E10) // Too large
- {
- sBuff = ImpSvNumberformatScan::GetErrorString();
- return false;
- }
- }
bool bInputLine;
sal_Int32 nCntPost;
if ( rScan.GetStandardPrec() == SvNumberFormatter::INPUTSTRING_PRECISION &&
More information about the Libreoffice-commits
mailing list