[Libreoffice-commits] core.git: formula/source
Stephan Bergmann
sbergman at redhat.com
Wed Sep 9 02:40:44 PDT 2015
formula/source/ui/dlg/formula.cxx | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 68311d3cec745cdc62ef73639dcc34cfce98f4f2
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Sep 9 11:38:53 2015 +0200
clang-analyzer-deadcode.DeadStores
...ever since 2cb4c646a81c92d7582c0db6eedeb09128ace1c5 "CWS-TOOLING: integrate
CWS frmdlg"
Change-Id: I5ba64a9e8005efc5e918669d0ef3119c18c32594
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 6d04323..09663f3 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) )
{
More information about the Libreoffice-commits
mailing list