diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-28 14:07:38 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-28 21:03:06 -0500 |
commit | 94b7deccb683fc407a90c3bb1f580ca47debaf33 (patch) | |
tree | dc02eed1fbc4c0be937271ba0ed1d4845d870199 /sc/inc | |
parent | 2c0c947a99f0c9e96e64a5d95ea31329eb0b1eee (diff) |
We only use the string part. Let's make it more obvious.
Plus this will save some memory footprint.
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dptablecache.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/dptablecache.hxx b/sc/inc/dptablecache.hxx index 838499b4e295..95d4d89b39a9 100644 --- a/sc/inc/dptablecache.hxx +++ b/sc/inc/dptablecache.hxx @@ -57,6 +57,7 @@ class SC_DLLPUBLIC ScDPCache : boost::noncopyable public: typedef ::boost::ptr_vector<ScDPItemData> DataListType; typedef std::set<ScDPObject*> ObjectSetType; + typedef std::vector<rtl::OUString> LabelsType; private: typedef ::boost::ptr_vector<DataListType> DataGridType; typedef ::boost::ptr_vector< ::std::vector<SCROW> > RowGridType; @@ -94,7 +95,7 @@ private: */ mutable RowGridType maIndexOrder; - DataListType maLabelNames; // Stores dimension names. + LabelsType maLabelNames; // Stores dimension names. std::vector<bool> mbEmptyRow; // Keeps track of empty rows. boost::scoped_ptr<ScDPItemDataPool> mpAdditionalData; |