summaryrefslogtreecommitdiff
path: root/sc/inc/datamapper.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-23 08:54:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-23 22:25:34 +0200
commit428d17a2ed068dcbb21eb66338ee7fcf2cfa8929 (patch)
treef84f14c91fa8661b89413db29bfbfe01cf2580f9 /sc/inc/datamapper.hxx
parentdf7abb6981546aebebe69dc944f2a6555a7b669c (diff)
some places where ScDocument* is never passed a nullptr
and so some nullptr checks can be removed Change-Id: I7dedc2c6d054d9749db9766eaa3a5681842b2b69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103239 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/inc/datamapper.hxx')
-rw-r--r--sc/inc/datamapper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/datamapper.hxx b/sc/inc/datamapper.hxx
index 2f8e51d506c0..c3284cf1ddfa 100644
--- a/sc/inc/datamapper.hxx
+++ b/sc/inc/datamapper.hxx
@@ -100,11 +100,11 @@ public:
class SC_DLLPUBLIC ExternalDataMapper
{
- //ScDocument* mpDoc;
+ //ScDocument& mrDoc;
std::vector<ExternalDataSource> maDataSources;
public:
- ExternalDataMapper(ScDocument* pDoc);
+ ExternalDataMapper(ScDocument& rDoc);
~ExternalDataMapper();