sc/source/core/tool/interpr3.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0ccf9683f0a65f1b4c1e54fa7797fa52b96c6bdd Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Thu Aug 3 11:42:38 2017 +0200 rename MAX_ANZ_DOUBLE_FOR_SORT->MAX_COUNT_DOUBLE_FOR_SORT Change-Id: Ie3167ad7961703b88cd1eb6535aed34955b4eb98 Reviewed-on: https://gerrit.libreoffice.org/40707 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx index 9c7ce4921db5..7b60e39dc6f4 100644 --- a/sc/source/core/tool/interpr3.cxx +++ b/sc/source/core/tool/interpr3.cxx @@ -40,7 +40,7 @@ using ::std::vector; using namespace formula; -#define MAX_ANZ_DOUBLE_FOR_SORT 100000 +#define MAX_COUNT_DOUBLE_FOR_SORT 100000 const double ScInterpreter::fMaxGammaArgument = 171.624376956302; // found experimental const double fMachEps = ::std::numeric_limits<double>::epsilon(); @@ -3775,7 +3775,7 @@ void ScInterpreter::GetNumberSequenceArray( sal_uInt8 nParamCount, vector<double void ScInterpreter::GetSortArray( sal_uInt8 nParamCount, vector<double>& rSortArray, vector<long>* pIndexOrder, bool bConvertTextInArray, bool bAllowEmptyArray ) { GetNumberSequenceArray( nParamCount, rSortArray, bConvertTextInArray ); - if (rSortArray.size() > MAX_ANZ_DOUBLE_FOR_SORT) + if (rSortArray.size() > MAX_COUNT_DOUBLE_FOR_SORT) SetError( FormulaError::MatrixSize); else if ( rSortArray.empty() ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits