summaryrefslogtreecommitdiff
path: root/sc/source/core/data/dpobject.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-13 23:10:37 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-01-13 23:10:37 -0500
commit377c1fa61a3afb5e7eb3d9e24a548903e05d9986 (patch)
tree26d7b694c8b17721aeab64a93616b7ecc33ca566 /sc/source/core/data/dpobject.cxx
parent20a4867e6270b795377d0dd1b01f26f8a3d094c5 (diff)
More on unittesting data pilot.
Diffstat (limited to 'sc/source/core/data/dpobject.cxx')
-rw-r--r--sc/source/core/data/dpobject.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx
index 2f1d65ebc..674b88b36 100644
--- a/sc/source/core/data/dpobject.cxx
+++ b/sc/source/core/data/dpobject.cxx
@@ -530,7 +530,7 @@ void ScDPObject::InvalidateSource()
mpTableData.reset();
}
-ScRange ScDPObject::GetNewOutputRange( BOOL& rOverflow )
+ScRange ScDPObject::GetNewOutputRange( bool& rOverflow )
{
CreateOutput(); // create xSource and pOutput if not already done
@@ -2425,6 +2425,7 @@ ScDPCollection::ScDPCollection(const ScDPCollection& r) :
ScDPCollection::~ScDPCollection()
{
+ maTables.clear();
}
void ScDPCollection::DeleteOnTab( SCTAB nTab )