Kaydet (Commit) a5550289 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Eike Rathke

ofz: special case max index for cSymbol

Change-Id: Ia5fb036196b0cff0739789e691a36d294660540b
Reviewed-on: https://gerrit.libreoffice.org/44759Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
üst b2f2070a
......@@ -3266,6 +3266,8 @@ bool ScCompiler::IsReference( const OUString& rName, const OUString* pErrRef )
return true;
// Now try with a symbol up to the range operator, rewind source
// position.
if (mnRangeOpPosInSymbol == MAXSTRLEN-1)
return false;
sal_Int32 nLen = mnRangeOpPosInSymbol;
while (cSymbol[++nLen])
;
......
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