summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlbodyi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlbodyi.cxx')
-rw-r--r--sc/source/filter/xml/xmlbodyi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlbodyi.cxx b/sc/source/filter/xml/xmlbodyi.cxx
index b333b95d444f..cd82d73aba5a 100644
--- a/sc/source/filter/xml/xmlbodyi.cxx
+++ b/sc/source/filter/xml/xmlbodyi.cxx
@@ -251,7 +251,7 @@ void SAL_CALL ScXMLBodyContext::endFastElement(sal_Int32 nElement)
}
if (pChangeTrackingImportHelper)
- pChangeTrackingImportHelper->CreateChangeTrack(GetScImport().GetDocument());
+ pChangeTrackingImportHelper->CreateChangeTrack(pDoc);
// #i37959# handle document protection after the sheet settings
if (!bProtected)