summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-25 05:06:57 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-25 05:06:57 +0200
commite4eca6763ee4967b64a219c744d9673f16382415 (patch)
tree7f5b7faa0a5757815e2d169ad18ad95103634796 /sc
parent8269e88b9b9ba508f53489269031e5d41074fc60 (diff)
remove newly unused variable
Diffstat (limited to 'sc')
-rw-r--r--sc/Module_sc.mk3
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx4
2 files changed, 1 insertions, 6 deletions
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 8f51646263e5..bd61ce62c8cd 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -42,8 +42,7 @@ $(eval $(call gb_Module_add_targets,sc,\
endif
$(eval $(call gb_Module_add_check_targets,sc,\
- CppunitTest_sc_ucalc \
- CppunitTest_sc_filters_test \
+ CppunitTest_sc_chart_regression_test \
))
$(eval $(call gb_Module_add_slowcheck_targets,sc,\
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index 5bc66c9017f2..bb635bb5d5c1 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1461,11 +1461,7 @@ sal_uLong ScDBDocFunc::RefreshPivotTables(ScDPObject* pDPObj, bool bApi)
if (!pDPs)
return 0;
- bool bHasGroups = false;
ScDPSaveData* pSaveData = pDPObj->GetSaveData();
- if (pSaveData && pSaveData->GetExistingDimensionData())
- bHasGroups = true;
-
std::set<ScDPObject*> aRefs;
sal_uLong nErrId = pDPs->ReloadCache(pDPObj, aRefs);
if (nErrId)