summaryrefslogtreecommitdiff
path: root/sc/inc/rangenam.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-13 21:14:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-14 14:51:07 +0200
commitb3dc39b0d4bc1d2f906cd25c41636719dd838d2f (patch)
tree5f70cedff10805f8cce14d43868a3d87a263dd0d /sc/inc/rangenam.hxx
parent14b40ec7be7ca8315848034591e3c3a246d5a8dd (diff)
both branches dereference ScDocument* arg
Change-Id: I63a2b7908fe332c177ea0385c3ea9b9cd136f824 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102622 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/rangenam.hxx')
-rw-r--r--sc/inc/rangenam.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index 36c31aea33ed..1a64db7bb9b6 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -83,7 +83,7 @@ private:
void InitCode();
public:
- SC_DLLPUBLIC ScRangeData( ScDocument* pDoc,
+ SC_DLLPUBLIC ScRangeData( ScDocument& rDoc,
const OUString& rName,
const OUString& rSymbol,
const ScAddress& rAdr = ScAddress(),