Kaydet (Commit) eed39303 authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#90301 string access out of bounds

Apparently yet another leftover of UniString to OUString conversion
where with UniString out-of-bounds accesses didn't harm and returned
NIL.

Change-Id: Id88456a52df3fc8cdaf90d9d509e327b96269808
üst 836d05d3
......@@ -201,7 +201,7 @@ sal_Int32 FormulaHelper::GetFunctionStart( const OUString& rFormula,
return nStart;
sal_Int32 nFStart = FUNC_NOTFOUND;
sal_Int32 nParPos = nStart;
sal_Int32 nParPos = bBack ? ::std::min( nStart, nStrLen - 1) : nStart;
bool bRepeat;
do
......
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