diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-03 14:06:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-12-04 08:55:35 +0200 |
commit | a0be5278c24efcc9a6f22fe5398d780b0744f8ce (patch) | |
tree | 7c10449c9b7bec493bc1f06ab29ad69c0bbe009f | |
parent | 8b306ebb2c479bccbaf7a5ab170816cfe5850f71 (diff) |
remove condition that cannot be hit
GetFunctionEnd cannot return STRING_NOTFOUND
Change-Id: Ic9abee0ea77789e01acedf57c6c13edb0a5c08d9
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index f1f0a78684be..deec0f0f5f4c 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1330,7 +1330,7 @@ IMPL_LINK_NOARG(FormulaDlg_Impl, FormulaCursorHdl) { sal_Int32 nPos1 = m_aFormulaHelper.GetFunctionEnd(aString,nFStart); - if(nPos1>nPos || nPos1==STRING_NOTFOUND) + if(nPos1>nPos) { EditThisFunc(nFStart); } |