diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-14 11:29:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-15 11:13:11 +0200 |
commit | 129ae164844c2d635fe7f152ad0c47c02e08b9d4 (patch) | |
tree | 636c0567dac582dccfc36166bdb4ef2cff0f4c6c /sc/source/ui/pagedlg | |
parent | 2943c7b1d7b8e6c087f1ad5f1be9ed8f5bbc027c (diff) |
ScRangeList::ParseAny ScDocument* argument dereferenced on all used paths
Change-Id: Ie41a1b58f8bec0e8197aa49aa92522f11de40a28
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102667
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r-- | sc/source/ui/pagedlg/areasdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx index ef0a300b20aa..9ac58fb569d6 100644 --- a/sc/source/ui/pagedlg/areasdlg.cxx +++ b/sc/source/ui/pagedlg/areasdlg.cxx @@ -419,7 +419,7 @@ void ScPrintAreasDlg::Impl_FillLists() OUString aName = rEntry.second->GetName(); OUString aSymbol; rEntry.second->GetSymbol(aSymbol); - if (aRange.ParseAny(aSymbol, pDoc, eConv) & ScRefFlags::VALID) + if (aRange.ParseAny(aSymbol, *pDoc, eConv) & ScRefFlags::VALID) { if (rEntry.second->HasType(ScRangeData::Type::PrintArea)) { |