diff options
-rw-r--r-- | sc/source/core/data/funcdesc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/funcdesc.cxx b/sc/source/core/data/funcdesc.cxx index 15a2e22d8811..a7a62d2d8568 100644 --- a/sc/source/core/data/funcdesc.cxx +++ b/sc/source/core/data/funcdesc.cxx @@ -284,7 +284,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 |