summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-14 15:41:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-14 15:41:27 +0200
commit141a87dd3caeefc7d098dbf4d1a6df2f0cb259c5 (patch)
treeba12e535c033bdfc5e6efa8d41cd83a97062328b /sc/source/ui/dbgui
parentfbf5599c071c6f3203f8992aba4560be9b3b5e42 (diff)
Clean up function declarations and some unused functions
Change-Id: If2c233a8ced8815b065a72caff907f10ef6166ff
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeList.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
index bdfae545a399..32c55ce6b2f5 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
@@ -36,27 +36,6 @@ void ScPivotLayoutTreeList::Setup(ScPivotLayoutDialog* pParent, SvPivotTreeListT
meType = eType;
}
-OUString lclFunctName(const sal_uInt16 nFunctionMask)
-{
- switch (nFunctionMask)
- {
- case PIVOT_FUNC_SUM: return OUString("Sum");
- case PIVOT_FUNC_COUNT: return OUString("Count");
- case PIVOT_FUNC_AVERAGE: return OUString("Mean");
- case PIVOT_FUNC_MAX: return OUString("Max");
- case PIVOT_FUNC_MIN: return OUString("Min");
- case PIVOT_FUNC_PRODUCT: return OUString("Product");
- case PIVOT_FUNC_COUNT_NUM: return OUString("Count");
- case PIVOT_FUNC_STD_DEV: return OUString("StDev");
- case PIVOT_FUNC_STD_DEVP: return OUString("StDevP");
- case PIVOT_FUNC_STD_VAR: return OUString("Var");
- case PIVOT_FUNC_STD_VARP: return OUString("VarP");
- default:
- break;
- }
- return OUString();
-}
-
bool ScPivotLayoutTreeList::DoubleClickHdl()
{
ScItemValue* pCurrentItemValue = (ScItemValue*) GetCurEntry()->GetUserData();