diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-14 11:07:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-14 14:00:56 +0100 |
commit | adf59e5cefadd348779fb87fc7cbd52f770f5897 (patch) | |
tree | a0ed37a246272c5922fc5e3de3c28f6fcc8ede94 /sc/source/ui/inc/dbnamdlg.hxx | |
parent | da30c06a119f06e59895ea889a5daa149929dfe9 (diff) |
pDoc is always dereferenced
so make it a reference
Change-Id: I0b732c76f864129521c2c15a8556359b7367a026
Reviewed-on: https://gerrit.libreoffice.org/82668
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc/dbnamdlg.hxx')
-rw-r--r-- | sc/source/ui/inc/dbnamdlg.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/dbnamdlg.hxx b/sc/source/ui/inc/dbnamdlg.hxx index 0f1ad2d7b901..525fd71fb2ea 100644 --- a/sc/source/ui/inc/dbnamdlg.hxx +++ b/sc/source/ui/inc/dbnamdlg.hxx @@ -51,7 +51,7 @@ private: OUString aStrOperations; ScViewData* pViewData; - ScDocument* const pDoc; + const ScDocument& rDoc; bool bRefInputMode; ScAddress::Details const aAddrDetails; |