diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 15:36:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-17 09:41:42 +0200 |
commit | cded40e436340163fd537946749019b68800be4d (patch) | |
tree | 51b4cf263f621c3c06d2d882e55f54bf54dd3141 /sc/inc/reftokenhelper.hxx | |
parent | fd5470a12a33683a69cc580b6f6e297fbec45245 (diff) |
compileRangeRepresentation never called with null ScDocument*
Change-Id: I910731ecc1b7a36b9532841c7cc9c9288110bfe3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102880
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/reftokenhelper.hxx')
-rw-r--r-- | sc/inc/reftokenhelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/reftokenhelper.hxx b/sc/inc/reftokenhelper.hxx index a63d882011d7..c8ba9acca9b0 100644 --- a/sc/inc/reftokenhelper.hxx +++ b/sc/inc/reftokenhelper.hxx @@ -37,7 +37,7 @@ namespace ScRefTokenHelper * The source range may consist of multiple ranges separated by ';'s. */ void compileRangeRepresentation( - ::std::vector<ScTokenRef>& rRefTokens, const OUString& rRangeStr, ScDocument* pDoc, + ::std::vector<ScTokenRef>& rRefTokens, const OUString& rRangeStr, ScDocument& rDoc, const sal_Unicode cSep, ::formula::FormulaGrammar::Grammar eGrammar, bool bOnly3DRef = false); bool getRangeFromToken(const ScDocument* pDoc, ScRange& rRange, const ScTokenRef& pToken, const ScAddress& rPos, bool bExternal = false); |