From 68311d3cec745cdc62ef73639dcc34cfce98f4f2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 9 Sep 2015 11:38:53 +0200 Subject: clang-analyzer-deadcode.DeadStores ...ever since 2cb4c646a81c92d7582c0db6eedeb09128ace1c5 "CWS-TOOLING: integrate CWS frmdlg" Change-Id: I5ba64a9e8005efc5e918669d0ef3119c18c32594 --- formula/source/ui/dlg/formula.cxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'formula') 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) ) { -- cgit