summaryrefslogtreecommitdiff
path: root/sc/inc/dptabres.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-11-15 01:31:34 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-15 02:02:52 -0500
commit35054d3f6213c11546200820c706c8a1527ec605 (patch)
treeefcbff3fff68d2f308b156a2227dddf6f3e2cf80 /sc/inc/dptabres.hxx
parent13e09805f5058b6fcf700f566ea7935474dd9310 (diff)
Replaced heap array with std::vector.
Diffstat (limited to 'sc/inc/dptabres.hxx')
-rw-r--r--sc/inc/dptabres.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index aedb6f77c8a7..b8a2414a90c7 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -299,7 +299,7 @@ private:
ScSubTotalFunc* pMeasFuncs;
::com::sun::star::sheet::DataPilotFieldReference* pMeasRefs;
sal_uInt16* pMeasRefOrient;
- String* pMeasNames;
+ std::vector<String> maMeasureNames;
bool bLateInit:1;
bool bDataAtCol:1;
bool bDataAtRow:1;
@@ -312,7 +312,7 @@ public:
void SetMeasureData( long nCount, const ScSubTotalFunc* pFunctions,
const ::com::sun::star::sheet::DataPilotFieldReference* pRefs,
- const sal_uInt16* pRefOrient, const String* pNames );
+ const sal_uInt16* pRefOrient, std::vector<String>& rNames );
void SetDataLayoutOrientation( sal_uInt16 nOrient );
void SetLateInit( bool bSet );