diff options
author | Eike Rathke [er] <eike.rathke@oracle.com> | 2012-12-15 00:06:28 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-12-15 21:42:40 +0100 |
commit | 9d73ad60be888fd83551367712eb9c1f12f838ce (patch) | |
tree | 19242c1133afd0e95716111b39d05e3cb5f5be73 /sc/source/core/inc | |
parent | f2cb873631b8b21b54a55beaba532f4bd616a9c6 (diff) |
calcishmakkica: #i90269# #i95144# #i101466#
* For SUMIFS, AVERAGEIFS and COUNTIFS:
* All ranges must be of same dimension and size.
* Bail out if error encountered for any parameter, without calculating
remaining parameters.
* Adapted ScParameterClassification to cope with paired repeated parameters.
* In function resource have a trailing blank for repeated parameters so the
number is appended with a blank between.
Merged from Apache OO with adaptions.
http://svn.apache.org/viewvc?rev=1381448&view=rev
Original Apache OO committer: Andrew Rist <arist@apache.org>
Original Author: Eike Rathke [er] <eike.rathke@oracle.com>
Original Committer: Eike Rathke [er] <eike.rathke@oracle.com>
# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1288820521 -3600
# Node ID 79da8a1033b663c919f0dc48799f70256bffa497
# Parent 02cf226fcde498f6fd926d45df497e9fb412fe0f
Change-Id: Ica4faa4e7a46cd5f480cb898785daa51a50ec23b
Diffstat (limited to 'sc/source/core/inc')
-rw-r--r-- | sc/source/core/inc/parclass.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/inc/parclass.hxx b/sc/source/core/inc/parclass.hxx index 6037038c43be..b2500ff09a09 100644 --- a/sc/source/core/inc/parclass.hxx +++ b/sc/source/core/inc/parclass.hxx @@ -98,7 +98,7 @@ private: const static sal_Int32 nMaxParams = 7; Type nParam[nMaxParams]; - bool bRepeatLast; + sal_uInt8 nRepeatLast; }; // SUNWS7 needs a forward declared friend, otherwise members of the outer @@ -159,11 +159,11 @@ private: return 0; } - /** Whether last parameter type is repeated. */ + /** Whether last parameter types are repeated. */ static inline bool HasRepeatParameters( OpCode eOp) { return eOp <= SC_OPCODE_LAST_OPCODE_ID - && pData[eOp].aData.bRepeatLast; + && pData[eOp].aData.nRepeatLast > 0; } #endif // OSL_DEBUG_LEVEL }; |