[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 16 16:08:53 UTC 2020
sc/source/filter/xml/xmlbodyi.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c6e6ea97806c03b5bf202d7660b607287df49f78
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Sep 15 13:10:24 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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)
More information about the Libreoffice-commits
mailing list