summaryrefslogtreecommitdiff
path: root/sc/source/core/data/funcdesc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/funcdesc.cxx')
-rw-r--r--sc/source/core/data/funcdesc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/funcdesc.cxx b/sc/source/core/data/funcdesc.cxx
index a5c825a462dc..012308cc99bc 100644
--- a/sc/source/core/data/funcdesc.cxx
+++ b/sc/source/core/data/funcdesc.cxx
@@ -810,7 +810,7 @@ ScFunctionList::ScFunctionList()
// OpCodes, which is utopian...
for (sal_uInt16 i = 0; i <= SC_OPCODE_LAST_OPCODE_ID; ++i)
{
- ScResId aRes(RID_SC_FUNC_DESCRIPTIONS_START + i);
+ ResId aRes(RID_SC_FUNC_DESCRIPTIONS_START + i, *SC_MOD()->GetResMgr());
aRes.SetRT(RSC_STRINGARRAY);
// Opcode Resource available?
if (SC_MOD()->GetResMgr()->IsAvailable(aRes))
@@ -1179,7 +1179,7 @@ OUString ScFunctionMgr::GetCategoryName(sal_uInt32 _nCategoryNumber )
return OUString();
}
- ResStringArray aStringArray(ScResId(RID_FUNCTION_CATEGORIES));
+ ResStringArray aStringArray(ResId(RID_FUNCTION_CATEGORIES, *SC_MOD()->GetResMgr()));
return aStringArray.GetString(_nCategoryNumber);
}