Kaydet (Commit) b53d03f4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Remove the last use of SC_DP_MAX_FIELDS.

Now the pivot table core no longer uses static array for result data
storage.

Change-Id: I70a44011e2c12a1739c0507b1723c21a4808758c
üst 352306ee
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#ifndef _SC_DPGLOBAL_HXX #ifndef _SC_DPGLOBAL_HXX
#define _SC_DPGLOBAL_HXX #define _SC_DPGLOBAL_HXX
#define SC_DP_MAX_FIELDS 256
#define PIVOT_MAXFUNC 11 #define PIVOT_MAXFUNC 11
#define PIVOT_FUNC_NONE 0x0000 #define PIVOT_FUNC_NONE 0x0000
#define PIVOT_FUNC_SUM 0x0001 #define PIVOT_FUNC_SUM 0x0001
......
...@@ -98,14 +98,12 @@ private: ...@@ -98,14 +98,12 @@ private:
ScDPTableData* pData; // data source (ScDPObject manages its life time) ScDPTableData* pData; // data source (ScDPObject manages its life time)
ScDPDimensions* pDimensions; // api objects ScDPDimensions* pDimensions; // api objects
// settings: // settings:
long nColDims[SC_DP_MAX_FIELDS];
long nRowDims[SC_DP_MAX_FIELDS]; std::vector<long> maColDims;
long nDataDims[SC_DP_MAX_FIELDS]; std::vector<long> maRowDims;
long nPageDims[SC_DP_MAX_FIELDS]; std::vector<long> maDataDims;
long nColDimCount; std::vector<long> maPageDims;
long nRowDimCount;
long nDataDimCount;
long nPageDimCount;
bool bColumnGrand; bool bColumnGrand;
bool bRowGrand; bool bRowGrand;
bool bIgnoreEmptyRows; bool bIgnoreEmptyRows;
......
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