summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
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;