summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-11 10:24:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-11 10:24:51 +0200
commitff10bc47abe0b04480c9fb5db025afbb5e402b4b (patch)
tree4b4da31712f5592a2e78331cb34f42321446fb21 /formula
parentddadcb4f4a2bc6538c219a0a577bdf5999015150 (diff)
loplugin:casttovoid
...as introduced with f6574be0e375e215e6f21830b9e09d77d01b5097 "FormulaDlg_Impl::MakeTree: pass down current function/operator token: In preparation of better argument evaluation." Change-Id: I2ea39115bc2d2dbbea6fd899c347c98949ec281a
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx3
1 files changed, 1 insertions, 2 deletions
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;