summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-02-18 20:35:17 +0100
committerEike Rathke <erack@redhat.com>2017-02-24 15:23:32 +0000
commit41f95c4a35a6335e9edb2f51c11d136d88bd0749 (patch)
treecaf167ab6f6777da38612b453703b08930fec5fd /sc/inc
parent237685fdfad448ddb8493c6c8162f7db085ec45c (diff)
Remove SC_DPOUT_MAXLEVELS limit in Pivot
by using vectors instead of fixed arrays Change-Id: I4bd070e05ccc464c80722ffd05e70b7acac17d5f Reviewed-on: https://gerrit.libreoffice.org/34408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dpoutput.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/inc/dpoutput.hxx b/sc/inc/dpoutput.hxx
index 9f9fdcf308a5..ecd933c22814 100644
--- a/sc/inc/dpoutput.hxx
+++ b/sc/inc/dpoutput.hxx
@@ -48,12 +48,9 @@ private:
ScDocument* pDoc;
css::uno::Reference< css::sheet::XDimensionsSupplier> xSource;
ScAddress aStartPos;
- ScDPOutLevelData* pColFields;
- ScDPOutLevelData* pRowFields;
- ScDPOutLevelData* pPageFields;
- long nColFieldCount;
- long nRowFieldCount;
- long nPageFieldCount;
+ std::vector<ScDPOutLevelData> pColFields;
+ std::vector<ScDPOutLevelData> pRowFields;
+ std::vector<ScDPOutLevelData> pPageFields;
css::uno::Sequence< css::uno::Sequence< css::sheet::DataResult> > aData;
OUString aDataDescription;