diff --git a/sc/source/core/data/funcdesc.cxx b/sc/source/core/data/funcdesc.cxx index 89e07465ea67..2a3f4219eae1 100644 --- a/sc/source/core/data/funcdesc.cxx +++ b/sc/source/core/data/funcdesc.cxx @@ -283,7 +283,7 @@ OUString ScFuncDesc::getFunctionName() const const formula::IFunctionCategory* ScFuncDesc::getCategory() const { - return ScGlobal::GetStarCalcFunctionMgr()->getCategory(nCategory); + return ScGlobal::GetStarCalcFunctionMgr()->getCategory(nCategory - 1); } OUString ScFuncDesc::getDescription() const