diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-01-21 16:46:47 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-01-21 16:46:47 -0500 |
commit | 126321ebe679376a13e807ff3b1c38acdb0b2f98 (patch) | |
tree | ba4a009aec6c0801f3625c4e97f317756b603391 /sc/source/filter/xml/xmldpimp.cxx | |
parent | f1d27b6d0a0e89ecae130d60decfc88531cce7ea (diff) |
Let's store ScDocument* in ScSheetSourceDesc.
This class already uses ScDocument* a lot internally. Let's just
take the pointer to the document instance in the ctor and store it
inside.
Diffstat (limited to 'sc/source/filter/xml/xmldpimp.cxx')
-rw-r--r-- | sc/source/filter/xml/xmldpimp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmldpimp.cxx b/sc/source/filter/xml/xmldpimp.cxx index cd9ee288fb4f..6a2970a13040 100644 --- a/sc/source/filter/xml/xmldpimp.cxx +++ b/sc/source/filter/xml/xmldpimp.cxx @@ -445,7 +445,7 @@ void ScXMLDataPilotTableContext::EndElement() { if (bSourceCellRange) { - ScSheetSourceDesc aSheetDesc; + ScSheetSourceDesc aSheetDesc(pDoc); aSheetDesc.SetSourceRange(aSourceCellRangeAddress); aSheetDesc.SetQueryParam(aSourceQueryParam); pDPObject->SetSheetDesc(aSheetDesc); |