diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 11:23:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-20 09:31:10 +0200 |
commit | 64ed1e1c077e0023ad0b62a9d1c2e23ee5fb6618 (patch) | |
tree | faf56dd96065a6318788fe2b9a4e386e88d19702 /sc | |
parent | f74d458dc279990459de9ea998781ffa040d159d (diff) |
cid#983376 Dereference before null check
Change-Id: Ife25ca2199b9f4c997f2c7ad500b612b4703c07e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/dptabsrc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dptabsrc.cxx b/sc/source/core/data/dptabsrc.cxx index 82a0c1dc9d61..979e7fa0293c 100644 --- a/sc/source/core/data/dptabsrc.cxx +++ b/sc/source/core/data/dptabsrc.cxx @@ -773,7 +773,7 @@ void ScDPSource::FilterCacheByPageDimensions() // there is at least one invisible item. Add this filter criterion to the mix. aCriteria.push_back(aFilter); - if (!pDim || !pDim->HasSelectedPage()) + if (!pDim->HasSelectedPage()) continue; const ScDPItemData& rData = pDim->GetSelectedData(); |