diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 19:16:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-17 15:04:06 +0200 |
commit | 44af87f7392792e045e5afe5df19e946ef81241b (patch) | |
tree | 464e5b1821859bb3bd3b7188ba3d75d00a171b43 /sc/source/ui/unoobj/funcuno.cxx | |
parent | d7ef802bbb3b2f01fdbf7af6da50d272bcf0abd1 (diff) |
ScCompiler ctors never passed a null ScDocument*
add one assert to ScXMLConditionalFormatContext where this isn't
immediately certain.
Change-Id: I2103c5cd42288e0a5d2a1c2e2d2d031f806773bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102906
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/funcuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/funcuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx index 7e853fea6f07..89ea794a3583 100644 --- a/sc/source/ui/unoobj/funcuno.cxx +++ b/sc/source/ui/unoobj/funcuno.cxx @@ -467,7 +467,7 @@ uno::Any SAL_CALL ScFunctionAccess::callFunction( const OUString& aName, /// TODO: check ScAddress aAdr; - ScCompiler aCompiler(pDoc, aAdr, pDoc->GetGrammar()); + ScCompiler aCompiler(*pDoc, aAdr, pDoc->GetGrammar()); // find function |