summaryrefslogtreecommitdiff
path: root/sc/inc/rangeutl.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-16 09:14:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-17 22:10:52 +0200
commit20ee99fce1ea00cff54a3f3362e5ceadc71db933 (patch)
tree192ffc0586d44e06e501e1cc1fbbb02773c7609c /sc/inc/rangeutl.hxx
parentefe8082b888ddd7c5c8f18ebf8df4cd8b300bd40 (diff)
GetAddressFromString never passed a null ScDocument*
for the xml case this isn't immediately obvious, but pDoc should only be null between Init and Destroy. Change-Id: I6f517be6c620a8a2e5eec0f5a2fabd176745bb8a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102957 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/rangeutl.hxx')
-rw-r--r--sc/inc/rangeutl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx
index a47ce79fefd0..2212d6bb9a41 100644
--- a/sc/inc/rangeutl.hxx
+++ b/sc/inc/rangeutl.hxx
@@ -120,7 +120,7 @@ public:
static bool GetAddressFromString(
ScAddress& rAddress,
const OUString& rAddressStr,
- const ScDocument* pDocument,
+ const ScDocument& rDocument,
formula::FormulaGrammar::AddressConvention eConv,
sal_Int32& nOffset,
sal_Unicode cSeparator = ' ',