diff options
author | Eike Rathke <erack@redhat.com> | 2014-05-09 00:11:06 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-05-09 01:07:01 +0200 |
commit | e891afeccba8f20f8bdaeacb20f2215cfcb1abfd (patch) | |
tree | 9abe7392f6a9a8f11c2cfb26a34e6d16a08e9389 /sc/inc | |
parent | 37852a02cdb67b6c5665a794deae3efbed6d244a (diff) |
resolve fdo#77509 memory corruption / crash in Consolidate
Regression introduced with c81dec478ab0618f2acd2580654a93d3a7185444
memcpy some sizeof(OUString) is doomed to fail.
Change-Id: I81dc9cc7eaf02607ed05b4d284a7e5e462eeeb0a
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/consoli.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/inc/consoli.hxx b/sc/inc/consoli.hxx index ec96a6033c72..8811f5b55b13 100644 --- a/sc/inc/consoli.hxx +++ b/sc/inc/consoli.hxx @@ -80,11 +80,10 @@ private: double** ppCount; double** ppSumSqr; ScReferenceList** ppRefs; - OUString* mpColHeaders; - OUString* mpRowHeaders; + ::std::vector<OUString> maColHeaders; + ::std::vector<OUString> maRowHeaders; + ::std::vector<OUString> maTitles; SCSIZE nDataCount; - SCSIZE nTitleCount; - OUString* mpTitles; SCSIZE** ppTitlePos; bool bCornerUsed; OUString aCornerText; // only for bColByName && bRowByName |