From a242a8bb064f38b5ce4ca8c71aca5d50cc77df0b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 15 Sep 2020 20:52:42 +0100 Subject: ScRange::Parse never passed a null ScDocument* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2c504f051f77c89f7e2e6d54990d030351824121 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102956 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sc/qa/unit/helper/qahelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/qa/unit/helper') diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index 560d4c51fd21..b0a6084d9db9 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -396,7 +396,7 @@ ScRangeList getChartRanges(ScDocument& rDoc, const SdrOle2Obj& rChartObj) for (size_t i = 0, n = aRangeReps.size(); i < n; ++i) { ScRange aRange; - ScRefFlags nRes = aRange.Parse(aRangeReps[i], &rDoc, rDoc.GetAddressConvention()); + ScRefFlags nRes = aRange.Parse(aRangeReps[i], rDoc, rDoc.GetAddressConvention()); if (nRes & ScRefFlags::VALID) // This is a range address. aRanges.push_back(aRange); -- cgit