Kaydet (Commit) a0be5278 authored tarafından Noel Grandin's avatar Noel Grandin

remove condition that cannot be hit

GetFunctionEnd cannot return STRING_NOTFOUND

Change-Id: Ic9abee0ea77789e01acedf57c6c13edb0a5c08d9
üst 8b306ebb
...@@ -1330,7 +1330,7 @@ IMPL_LINK_NOARG(FormulaDlg_Impl, FormulaCursorHdl) ...@@ -1330,7 +1330,7 @@ IMPL_LINK_NOARG(FormulaDlg_Impl, FormulaCursorHdl)
{ {
sal_Int32 nPos1 = m_aFormulaHelper.GetFunctionEnd(aString,nFStart); sal_Int32 nPos1 = m_aFormulaHelper.GetFunctionEnd(aString,nFStart);
if(nPos1>nPos || nPos1==STRING_NOTFOUND) if(nPos1>nPos)
{ {
EditThisFunc(nFStart); EditThisFunc(nFStart);
} }
......
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