summaryrefslogtreecommitdiff
path: root/sc/inc/rangeutl.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-13 14:30:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-13 16:40:07 +0200
commit8ff2889f417fdf9a2a2b849189dfd4e693bb7a45 (patch)
treecc776c62bac6b5087534aa05c3f9ede8618aa83f /sc/inc/rangeutl.hxx
parent209838cad5f23836da7f3330960d25b5618dcd90 (diff)
MakeRangeFromName never passed a null ScDocument*
Change-Id: Ie9de24e4be10efb071139f02576058cee512bc7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102579 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 f5468ad2728f..a65939e81e03 100644
--- a/sc/inc/rangeutl.hxx
+++ b/sc/inc/rangeutl.hxx
@@ -72,7 +72,7 @@ public:
ScAddress::Details const & rDetails = ScAddress::detailsOOOa1 );
static bool MakeRangeFromName( const OUString& rName,
- const ScDocument* pDoc,
+ const ScDocument& rDoc,
SCTAB nCurTab,
ScRange& rRange,
RutlNameScope eScope=RUTL_NAMES,