diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 11:55:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-18 19:57:28 +0200 |
commit | 08e85556d2ae66bdf43d908e1b9dfca4c78295e2 (patch) | |
tree | b49c1f8caf525a05eeb29c8a5373df88bd058770 /sc/source/filter/xml/xmlcelli.cxx | |
parent | 0abf2ac27859f1e91a3d183b81948b1fe8f5aca3 (diff) |
ScCellIterator never passed a null ScDocument*
Change-Id: I5d8ea1533fe861cf969c2999343da217c82d54e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103006
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index 0f07c4c59bf3..695276add693 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -961,7 +961,7 @@ void ScXMLTableRowCellContext::SetDetectiveObj( const ScAddress& rPosition ) return; LockSolarMutex(); - ScDetectiveFunc aDetFunc( pDoc, rPosition.Tab() ); + ScDetectiveFunc aDetFunc( *pDoc, rPosition.Tab() ); uno::Reference<container::XIndexAccess> xShapesIndex = rXMLImport.GetTables().GetCurrentXShapes(); // make draw page for(const auto& rDetectiveObj : *pDetectiveObjVec) { |