diff options
author | Niklas Nebel <nn@openoffice.org> | 2010-02-04 18:46:58 +0100 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2010-02-04 18:46:58 +0100 |
commit | 4eb9bdca49a443a752014b5892fed3cce2d84ae0 (patch) | |
tree | 1f7f01e40195cc575b84958bdde1dee17c56cc78 /sc/inc/dpgroup.hxx | |
parent | 7f40d36d4ab443d1152ec932784c7f0d3cdbaa46 (diff) | |
parent | 25b005cbda460837f063ddf996c1ec72d4f4865b (diff) |
datapilotperf: merge with DEV300_m71
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r-- | sc/inc/dpgroup.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index a0d14a361b95..00e805288a20 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -33,6 +33,7 @@ #include <vector> #include <hash_set> +#include <boost/shared_ptr.hpp> #include "dptabdat.hxx" #include "scdllapi.h" @@ -197,7 +198,7 @@ class ScDPGroupTableData : public ScDPTableData { typedef ::std::hash_set< ::rtl::OUString, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > StringHashSet; - ScDPTableData* pSourceData; + ::boost::shared_ptr<ScDPTableData> pSourceData; long nSourceCount; ScDPGroupDimensionVec aGroups; ScDPNumGroupDimension* pNumGroups; // array[nSourceCount] @@ -219,7 +220,7 @@ class ScDPGroupTableData : public ScDPTableData public: // takes ownership of pSource - ScDPGroupTableData( ScDPTableData* pSource, ScDocument* pDocument ); + ScDPGroupTableData( const ::boost::shared_ptr<ScDPTableData>& pSource, ScDocument* pDocument ); virtual ~ScDPGroupTableData(); void AddGroupDimension( const ScDPGroupDimension& rGroup ); |