loplugin:checkunusedparams in forms..formula
Change-Id: Iacd973b97fccda217c691cca0a8f440640ff7a0b Reviewed-on: https://gerrit.libreoffice.org/37140 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -566,7 +566,7 @@ namespace frm
|
||||
}
|
||||
|
||||
|
||||
void RichTextControlImpl::Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize, DrawFlags /*_nFlags*/ )
|
||||
void RichTextControlImpl::Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize )
|
||||
{
|
||||
// need to normalize the map mode of the device - every paint operation on any device needs
|
||||
// to use the same map mode
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace frm
|
||||
bool GetHideInactiveSelection() const;
|
||||
|
||||
/// draws the control onto a given output device
|
||||
void Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize, DrawFlags _nFlags );
|
||||
void Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize );
|
||||
|
||||
/// handles command events arrived at the anti-impl control
|
||||
long HandleCommand( const CommandEvent& _rEvent );
|
||||
|
||||
@@ -296,9 +296,9 @@ namespace frm
|
||||
}
|
||||
|
||||
|
||||
void RichTextControl::Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize, DrawFlags _nFlags )
|
||||
void RichTextControl::Draw( OutputDevice* _pDev, const Point& _rPos, const Size& _rSize, DrawFlags /*_nFlags*/ )
|
||||
{
|
||||
m_pImpl->Draw( _pDev, _rPos, _rSize, _nFlags );
|
||||
m_pImpl->Draw( _pDev, _rPos, _rSize );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ class FormulaDlg_Impl
|
||||
public:
|
||||
::std::pair<RefButton*,RefEdit*>
|
||||
RefInputStartBefore( RefEdit* pEdit, RefButton* pButton );
|
||||
void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton );
|
||||
void RefInputStartAfter();
|
||||
void RefInputDoneAfter( bool bForced );
|
||||
bool CalcValue( const OUString& rStrExp, OUString& rStrResult, bool bForceMatrixFormula = false );
|
||||
bool CalcStruct( const OUString& rStrExp, bool bForceRecalcStruct = false );
|
||||
@@ -1477,7 +1477,7 @@ void FormulaDlg_Impl::UpdateSelection()
|
||||
aPair.second = m_pEdRef;
|
||||
return aPair;
|
||||
}
|
||||
void FormulaDlg_Impl::RefInputStartAfter( RefEdit* /*pEdit*/, RefButton* /*pButton*/ )
|
||||
void FormulaDlg_Impl::RefInputStartAfter()
|
||||
{
|
||||
m_pRefBtn->SetEndImage();
|
||||
|
||||
@@ -1727,9 +1727,9 @@ void FormulaModalDialog::Update()
|
||||
return m_pImpl->RefInputStartBefore( pEdit, pButton );
|
||||
}
|
||||
|
||||
void FormulaModalDialog::RefInputStartAfter( RefEdit* pEdit, RefButton* pButton )
|
||||
void FormulaModalDialog::RefInputStartAfter()
|
||||
{
|
||||
m_pImpl->RefInputStartAfter( pEdit, pButton );
|
||||
m_pImpl->RefInputStartAfter();
|
||||
}
|
||||
|
||||
void FormulaModalDialog::RefInputDoneAfter()
|
||||
@@ -1817,9 +1817,9 @@ void FormulaDlg::DoEnter()
|
||||
return m_pImpl->RefInputStartBefore( pEdit, pButton );
|
||||
}
|
||||
|
||||
void FormulaDlg::RefInputStartAfter( RefEdit* pEdit, RefButton* pButton )
|
||||
void FormulaDlg::RefInputStartAfter()
|
||||
{
|
||||
m_pImpl->RefInputStartAfter( pEdit, pButton );
|
||||
m_pImpl->RefInputStartAfter();
|
||||
}
|
||||
|
||||
void FormulaDlg::RefInputDoneAfter( bool bForced )
|
||||
|
||||
@@ -76,7 +76,7 @@ protected:
|
||||
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
|
||||
::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton );
|
||||
void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton );
|
||||
void RefInputStartAfter();
|
||||
void RefInputDoneAfter();
|
||||
|
||||
void SetMeText(const OUString& _sText);
|
||||
@@ -115,7 +115,7 @@ protected:
|
||||
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
|
||||
::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton );
|
||||
void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton );
|
||||
void RefInputStartAfter();
|
||||
void RefInputDoneAfter( bool bForced );
|
||||
|
||||
void SetMeText(const OUString& _sText);
|
||||
|
||||
@@ -212,7 +212,7 @@ void FormulaDialog::ToggleCollapsed( RefEdit* _pEdit, RefButton* _pButton)
|
||||
|
||||
m_pAddField->Update();
|
||||
}
|
||||
RefInputStartAfter( aPair.second, aPair.first );
|
||||
RefInputStartAfter();
|
||||
m_pAddField->Show();
|
||||
|
||||
}
|
||||
|
||||
@@ -371,7 +371,7 @@ void ScFormulaDlg::RefInputStart( formula::RefEdit* pEdit, formula::RefButton* p
|
||||
pEdit->SetSelection(Selection(0, SELECTION_MAX));
|
||||
::std::pair<formula::RefButton*,formula::RefEdit*> aPair = RefInputStartBefore( pEdit, pButton );
|
||||
m_aHelper.RefInputStart( aPair.second, aPair.first);
|
||||
RefInputStartAfter( aPair.second, aPair.first );
|
||||
RefInputStartAfter();
|
||||
}
|
||||
|
||||
void ScFormulaDlg::RefInputDone( bool bForced )
|
||||
|
||||
Reference in New Issue
Block a user