sc/source/filter/xml/xmlbodyi.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c6e6ea97806c03b5bf202d7660b607287df49f78 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Sep 15 13:10:24 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Wed Sep 16 18:08:08 2020 +0200 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 <caol...@redhat.com> 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits