From ff10bc47abe0b04480c9fb5db025afbb5e402b4b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 11 Jul 2017 10:24:51 +0200 Subject: loplugin:casttovoid ...as introduced with f6574be0e375e215e6f21830b9e09d77d01b5097 "FormulaDlg_Impl::MakeTree: pass down current function/operator token: In preparation of better argument evaluation." Change-Id: I2ea39115bc2d2dbbea6fd899c347c98949ec281a --- formula/source/ui/dlg/formula.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'formula') diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 8a188ceefc0e..9e8e56b4eab1 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -622,7 +622,7 @@ bool FormulaDlg_Impl::CalcStruct( const OUString& rStrExp, bool bForceRecalcStru } -void FormulaDlg_Impl::MakeTree( StructPage* _pTree, SvTreeListEntry* pParent, const FormulaToken* pFuncToken, +void FormulaDlg_Impl::MakeTree( StructPage* _pTree, SvTreeListEntry* pParent, const FormulaToken* /*pFuncToken*/, const FormulaToken* _pToken, long Count ) { if ( _pToken != nullptr && Count > 0 ) @@ -716,7 +716,6 @@ void FormulaDlg_Impl::MakeTree( StructPage* _pTree, SvTreeListEntry* pParent, co /* TODO: this should depend on parameter classification, if * a scalar value is expected matrix should not be forced. * */ - (void)pFuncToken; bool bForceMatrix = (!m_pBtnMatrix->IsChecked() && (_pToken->GetType() == svDoubleRef || _pToken->GetType() == svExternalDoubleRef)); OUString aCellResult; -- cgit