diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 12:21:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-07 12:49:42 +0200 |
commit | 1e42e804da9ae28e24b2e59ebc5430cb08818239 (patch) | |
tree | add2dea07645cd205343067a61ac22f75d2182c7 /formula | |
parent | 6eaf556542a8635c1d0ecbdfe00a5da394db6a81 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: I6a903931fdb3ac1b13d2d9c39071cc27c08fe194
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 86f30c77bf42..2744e87c0cde 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1354,7 +1354,6 @@ IMPL_LINK_NOARG_TYPED(FormulaDlg_Impl, FormulaCursorHdl, EditBox&, void) { FormEditData* pData = m_pHelper->getFormEditData(); if (!pData) return; - sal_Int32 nFStart = pData->GetFStart(); bEditFlag=true; @@ -1373,7 +1372,7 @@ IMPL_LINK_NOARG_TYPED(FormulaDlg_Impl, FormulaCursorHdl, EditBox&, void) { sal_Int32 nPos = aSel.Min(); - nFStart=GetFunctionPos(nPos - 1); + sal_Int32 nFStart=GetFunctionPos(nPos - 1); if(nFStart<nPos) { |