sc/source/ui/formdlg/dwfunctr.cxx | 3 --- sc/source/ui/inc/dwfunctr.hxx | 1 - 2 files changed, 4 deletions(-)
New commits: commit 499722a913187dec386a79842adbc5dd3b4b07b4 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Wed Aug 13 15:39:48 2025 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Aug 13 20:27:56 2025 +0200 loplugin:unusedfields Change-Id: I6b868b3225cd01fb585189938671ce639138d3e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189514 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx index e6ce78d1e1a9..b34ac3113b65 100644 --- a/sc/source/ui/formdlg/dwfunctr.cxx +++ b/sc/source/ui/formdlg/dwfunctr.cxx @@ -70,7 +70,6 @@ ScFunctionWin::ScFunctionWin(weld::Widget* pParent, SfxBindings* pBindings) InitLRUList(); UpdateFavouritesList(); - nArgs=0; m_aListHelpId = xFuncList->get_help_id(); m_aSearchHelpId = m_xSearchString->get_help_id(); @@ -410,7 +409,6 @@ void ScFunctionWin::DoEnter(bool bDoubleOrEnter) } SfxViewShell* pCurSh = SfxViewShell::Current(); - nArgs=0; if(!aString.isEmpty()) { @@ -420,7 +418,6 @@ void ScFunctionWin::DoEnter(bool bDoubleOrEnter) { pFuncDesc=pDesc; UpdateLRUList(); - nArgs = pDesc->nArgCount; } InitLRUList(); } diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx index e9d9bdec9d1b..316ca2340a1d 100644 --- a/sc/source/ui/inc/dwfunctr.hxx +++ b/sc/source/ui/inc/dwfunctr.hxx @@ -58,7 +58,6 @@ private: rtl::Reference<comphelper::ConfigurationListener> xConfigListener; std::unique_ptr<EnglishFunctionNameChange> xConfigChange; const ScFuncDesc* pFuncDesc; - sal_uInt16 nArgs; OUString m_aListHelpId; OUString m_aSearchHelpId;