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