diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-16 10:20:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-18 14:22:13 +0200 |
commit | 30bb3657ee78b7d3b0a7d26f80bf1ff94b16f51c (patch) | |
tree | e2f96cc04c33f3e62c422505a4cdd5e0740ea9f6 /sc/source/ui/unoobj/docuno.cxx | |
parent | 897bd0517d835ba00458279311e5d8ff11079dd7 (diff) |
ScAddress::Parse never passed a null ScDocument*
Change-Id: I8832f2cc4311b30b9a15883e831260a19d089a57
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102974
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/docuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index 237441bffef2..7799a28254ed 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1401,7 +1401,7 @@ static bool lcl_ParseTarget( const OUString& rTarget, ScRange& rTargetRange, too { bRangeValid = true; // range reference } - else if ( aAddress.Parse( rTarget, &rDoc ) & ScRefFlags::VALID ) + else if ( aAddress.Parse( rTarget, rDoc ) & ScRefFlags::VALID ) { rTargetRange = aAddress; bRangeValid = true; // cell reference |