summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-18 10:56:36 +0200
committerNoel Grandin <noel@peralex.com>2014-02-19 09:42:16 +0200
commitde2270ffc13239b41bb21ccb266181b42e82be71 (patch)
treea987f83f0def5f83062752d0d5618aac41b91236 /sc
parent6c294a62942c3fd9b4d5ee131fcf37acd69fc056 (diff)
cid#736791 dereference before null check
Change-Id: Ied773c6d4feaf75c04a4e1f2abda14b4cba38e2c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/cellsh1.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx
index 513828df0fc4..f11be50ec52a 100644
--- a/sc/source/ui/view/cellsh1.cxx
+++ b/sc/source/ui/view/cellsh1.cxx
@@ -2720,8 +2720,6 @@ void ScCellShell::ExecuteSubtotals(SfxRequest& rReq)
pDBData->GetArea(aDataRange);
pTabViewShell->MarkRange(aDataRange, false);
}
- if (!pDBData)
- return;
pDBData->GetSubTotalParam( aSubTotalParam );
aSubTotalParam.bRemoveOnly = false;