fix mis-merge crash related to mis-aligned func. desc. resource reading

This commit is contained in:
Michael Meeks 2011-03-22 13:25:53 +00:00
parent 454df28682
commit 33c8073b3e

View file

@ -815,6 +815,7 @@ ScFuncRes::ScFuncRes( ResId &aRes, ScFuncDesc* pDesc, bool & rbSuppressed )
{
rbSuppressed = (bool)GetNum();
pDesc->nCategory = GetNum();
pDesc->sHelpId = ReadByteStringRes();
pDesc->nArgCount = GetNum();
sal_uInt16 nArgs = pDesc->nArgCount;
if (nArgs >= VAR_ARGS)