summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-09 11:38:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-09 11:40:23 +0200
commit68311d3cec745cdc62ef73639dcc34cfce98f4f2 (patch)
tree6cabf1e9bea0cf96e1edb257619a429569142abf /formula
parentba8cdfca4d875af0c95622c7b87a8291e130865a (diff)
clang-analyzer-deadcode.DeadStores
...ever since 2cb4c646a81c92d7582c0db6eedeb09128ace1c5 "CWS-TOOLING: integrate CWS frmdlg" Change-Id: I5ba64a9e8005efc5e918669d0ef3119c18c32594
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 6d043230898f..09663f3108e3 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -1601,11 +1601,6 @@ IMPL_LINK_NOARG_TYPED(FormulaDlg_Impl, MatrixHdl, Button*, void)
IMPL_LINK_NOARG(FormulaDlg_Impl, FuncSelHdl)
{
- sal_Int32 nCat = pFuncPage->GetCategory();
- if ( nCat == LISTBOX_ENTRY_NOTFOUND ) nCat = 0;
- sal_Int32 nFunc = pFuncPage->GetFunction();
- if ( nFunc == LISTBOX_ENTRY_NOTFOUND ) nFunc = 0;
-
if ( (pFuncPage->GetFunctionEntryCount() > 0)
&& (pFuncPage->GetFunction() != LISTBOX_ENTRY_NOTFOUND) )
{