Kaydet (Commit) e59e1884 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704673 Dereference after null check

Change-Id: I6302c2b8c721e7b2e2c640d905a0c95ee4ba711d
üst 3b6a4c3b
...@@ -321,7 +321,7 @@ void ScFuncDesc::fillVisibleArgumentMapping(::std::vector<sal_uInt16>& _rArgumen ...@@ -321,7 +321,7 @@ void ScFuncDesc::fillVisibleArgumentMapping(::std::vector<sal_uInt16>& _rArgumen
nArgs -= VAR_ARGS - 1; nArgs -= VAR_ARGS - 1;
for (sal_uInt16 i=0; i < nArgs; ++i) for (sal_uInt16 i=0; i < nArgs; ++i)
{ {
if (!pDefArgFlags[i].bSuppress) if (!pDefArgFlags || !pDefArgFlags[i].bSuppress)
_rArguments.push_back(i); _rArguments.push_back(i);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment