Kaydet (Commit) ff10bc47 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:casttovoid

...as introduced with f6574be0
"FormulaDlg_Impl::MakeTree: pass down current function/operator token: In
preparation of better argument evaluation."

Change-Id: I2ea39115bc2d2dbbea6fd899c347c98949ec281a
üst ddadcb4f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment