diff options
author | Felix Zhang <fezhang@suse.com> | 2011-10-20 15:51:38 +0800 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-10-20 10:24:18 +0200 |
commit | 9f562a82c6ed56824365825a6bc0acf313ebcf28 (patch) | |
tree | a28fa792a0e4dfe836d1d38547edbb3349400c86 /formula | |
parent | 093e7a56fff27474e6a39734ab3f87fd0bcd28ad (diff) |
remove unused methods from formula::FormulaModalDialog
Diffstat (limited to 'formula')
-rw-r--r-- | formula/inc/formula/formula.hxx | 17 | ||||
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 70 |
2 files changed, 0 insertions, 87 deletions
diff --git a/formula/inc/formula/formula.hxx b/formula/inc/formula/formula.hxx index 32643b5a4ba5..e846ae89e0a6 100644 --- a/formula/inc/formula/formula.hxx +++ b/formula/inc/formula/formula.hxx @@ -74,34 +74,17 @@ private: SAL_WNODEPRECATED_DECLARATIONS_POP protected: - void disableOk(); - -protected: virtual long PreNotify( NotifyEvent& rNEvt ); ::std::pair<RefButton*,RefEdit*> RefInputStartBefore( RefEdit* pEdit, RefButton* pButton = NULL ); void RefInputStartAfter( RefEdit* pEdit, RefButton* pButton = NULL ); void RefInputDoneAfter( sal_Bool bForced = sal_False ); - rtl::OString FindFocusWin(Window *pWin); void SetFocusWin(Window *pWin,const rtl::OString& nUniqueId); - void HighlightFunctionParas(const String& aFormula); void SetMeText(const String& _sText); - FormulaDlgMode SetMeText(const String& _sText,xub_StrLen PrivStart, xub_StrLen PrivEnd,sal_Bool bMatrix,sal_Bool _bSelect,sal_Bool _bUpdate); void Update(); sal_Bool CheckMatrix(String& aFormula /*IN/OUT*/); - String GetMeText() const; void Update(const String& _sExp); - void CheckMatrix(); - void DoEnter(sal_Bool _bOk); - sal_Bool isUserMatrix() const; - const IFunctionDescription* getCurrentFunctionDescription() const; - sal_Bool UpdateParaWin(Selection& _rSelection); - void UpdateParaWin(const Selection& _rSelection,const String& _sRefStr); - RefEdit* GetActiveEdit(); - void SetEdSelection(); - - const FormulaHelper& GetFormulaHelper() const; }; class FORMULA_DLLPUBLIC FormulaDlg : public SfxModelessDialog diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index f82ee9bd8d16..97ef66390d26 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -1823,44 +1823,15 @@ void FormulaModalDialog::SetMeText(const String& _sText) } // ----------------------------------------------------------------------------- -FormulaDlgMode FormulaModalDialog::SetMeText(const String& _sText,xub_StrLen PrivStart, xub_StrLen PrivEnd,sal_Bool bMatrix,sal_Bool _bSelect,sal_Bool _bUpdate) -{ - return m_pImpl->SetMeText(_sText,PrivStart, PrivEnd,bMatrix,_bSelect,_bUpdate); -} -// ----------------------------------------------------------------------------- -void FormulaModalDialog::CheckMatrix() -{ - m_pImpl->aBtnMatrix.Check(); -} -// ----------------------------------------------------------------------------- sal_Bool FormulaModalDialog::CheckMatrix(String& aFormula) { return m_pImpl->CheckMatrix(aFormula); } // ----------------------------------------------------------------------------- -String FormulaModalDialog::GetMeText() const -{ - return m_pImpl->pMEdit->GetText(); -} -// ----------------------------------------------------------------------------- void FormulaModalDialog::Update() { m_pImpl->Update(); } -// ----------------------------------------------------------------------------- -const FormulaHelper& FormulaModalDialog::GetFormulaHelper() const -{ - return m_pImpl->GetFormulaHelper(); -} -// ----------------------------------------------------------------------------- -sal_Bool FormulaModalDialog::isUserMatrix() const -{ - return m_pImpl->bUserMatrixFlag; -} -void FormulaModalDialog::DoEnter(sal_Bool _bOk) -{ - m_pImpl->DoEnter(_bOk); -} ::std::pair<RefButton*,RefEdit*> FormulaModalDialog::RefInputStartBefore( RefEdit* pEdit, RefButton* pButton ) { return m_pImpl->RefInputStartBefore( pEdit, pButton ); @@ -1874,11 +1845,6 @@ void FormulaModalDialog::RefInputDoneAfter( sal_Bool bForced ) m_pImpl->RefInputDoneAfter( bForced ); } -rtl::OString FormulaModalDialog::FindFocusWin(Window *pWin) -{ - return m_pImpl->FindFocusWin( pWin ); -} - void FormulaModalDialog::SetFocusWin(Window *pWin,const rtl::OString& nUniqueId) { if(pWin->GetUniqueId()==nUniqueId) @@ -1897,7 +1863,6 @@ void FormulaModalDialog::SetFocusWin(Window *pWin,const rtl::OString& nUniqueId) } } - long FormulaModalDialog::PreNotify( NotifyEvent& rNEvt ) { m_pImpl->PreNotify( rNEvt ); @@ -1905,41 +1870,6 @@ long FormulaModalDialog::PreNotify( NotifyEvent& rNEvt ) return ModalDialog::PreNotify(rNEvt); } -void FormulaModalDialog::HighlightFunctionParas(const String& aFormula) -{ - m_pImpl->m_pHelper->showReference(aFormula); -} - -void FormulaModalDialog::disableOk() -{ - m_pImpl->aBtnEnd.Disable(); -} -// ----------------------------------------------------------------------------- -const IFunctionDescription* FormulaModalDialog::getCurrentFunctionDescription() const -{ - OSL_VERIFY(!m_pImpl->pFuncDesc || m_pImpl->pFuncDesc->getSuppressedArgumentCount() == m_pImpl->nArgs); - return m_pImpl->pFuncDesc; -} -// ----------------------------------------------------------------------------- -void FormulaModalDialog::UpdateParaWin(const Selection& _rSelection,const String& _sRefStr) -{ - m_pImpl->UpdateParaWin(_rSelection,_sRefStr); -} -sal_Bool FormulaModalDialog::UpdateParaWin(Selection& _rSelection) -{ - return m_pImpl->UpdateParaWin(_rSelection); -} -// ----------------------------------------------------------------------------- -RefEdit* FormulaModalDialog::GetActiveEdit() -{ - return m_pImpl->pParaWin->GetActiveEdit(); -} -// ----------------------------------------------------------------------------- -void FormulaModalDialog::SetEdSelection() -{ - m_pImpl->SetEdSelection(); -} - // -------------------------------------------------------------------------- // Initialisation / General functions for Dialog // -------------------------------------------------------------------------- |