summaryrefslogtreecommitdiffstats
path: root/sc/inc/dpgroup.hxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2010-02-04 18:46:58 +0100
committerNiklas Nebel <nn@openoffice.org>2010-02-04 18:46:58 +0100
commit4eb9bdca49a443a752014b5892fed3cce2d84ae0 (patch)
tree1f7f01e40195cc575b84958bdde1dee17c56cc78 /sc/inc/dpgroup.hxx
parentdatapilotperf: manual migration of changes by Wang Xu Ming from svn to hg (diff)
parent#i10000# removed include (diff)
downloadcore-4eb9bdca49a443a752014b5892fed3cce2d84ae0.tar.gz
core-4eb9bdca49a443a752014b5892fed3cce2d84ae0.zip
datapilotperf: merge with DEV300_m71
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r--sc/inc/dpgroup.hxx5
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 );