diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 13:10:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 18:08:08 +0200 |
commit | c6e6ea97806c03b5bf202d7660b607287df49f78 (patch) | |
tree | 8fb646b097ee477c7c71760b8346d28e6a95b3d4 /sc | |
parent | 91313ea13f9dc846a141e5106fb9ba2f70a970f5 (diff) |
we already have the Document as pDoc
Change-Id: I2b35bb2af4fd1b7a1b0e8da9b54d9f3eda7adfd2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102868
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlbodyi.cxx | 2 |
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) |