summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-07-11 19:18:19 +0200
committerEike Rathke <erack@redhat.com>2017-07-11 19:59:26 +0200
commitebbde0b6930d2a08106953cf250bcecc3f906361 (patch)
tree81df35c4e21262715bdac6c82b0713faf82027a3 /formula
parent8f40e90fdf03fe47f1b49d1f4ce15da85998eb0d (diff)
Buy some newlines
Author's Enter key must had been broken as well, not only Space key.. Change-Id: I61c947a988f36cb55d1037ca0bd277fca181b09e
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index f2aa183cbf1d..3966d6b1555a 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -786,6 +786,7 @@ void FormulaDlg_Impl::fillTree(StructPage* _pTree)
bMakingTree = false;
}
}
+
void FormulaDlg_Impl::UpdateTokenArray( const OUString& rStrExp)
{
m_aTokenMap.clear();
@@ -993,6 +994,7 @@ void FormulaDlg_Impl::ClearAllParas()
m_pFtFuncDesc->Show();
}
}
+
OUString FormulaDlg_Impl::RepairFormula(const OUString& aFormula)
{
OUString aResult('=');
@@ -1514,6 +1516,7 @@ void FormulaDlg_Impl::UpdateSelection()
aPair.second = m_pEdRef;
return aPair;
}
+
void FormulaDlg_Impl::RefInputStartAfter()
{
m_pRefBtn->SetEndImage();
@@ -1532,6 +1535,7 @@ void FormulaDlg_Impl::RefInputStartAfter()
m_pParent->SetText( MnemonicGenerator::EraseAllMnemonicChars( aStr ) );
}
}
+
void FormulaDlg_Impl::RefInputDoneAfter( bool bForced )
{
m_pRefBtn->SetStartImage();
@@ -1555,10 +1559,12 @@ void FormulaDlg_Impl::RefInputDoneAfter( bool bForced )
m_pParent->SetText( aTitle1 );
}
}
+
RefEdit* FormulaDlg_Impl::GetCurrRefEdit()
{
return m_pEdRef->IsVisible() ? m_pEdRef.get() : pParaWin->GetActiveEdit();
}
+
void FormulaDlg_Impl::Update()
{
FormEditData* pData = m_pHelper->getFormEditData();
@@ -1573,12 +1579,14 @@ void FormulaDlg_Impl::Update()
m_pTabCtrl->SetCurPageId(TP_STRUCT);
m_pBtnMatrix->Check(pData->GetMatrixFlag());
}
+
void FormulaDlg_Impl::Update(const OUString& _sExp)
{
CalcStruct(_sExp);
FillDialog();
FuncSelHdl(*pFuncPage);
}
+
void FormulaDlg_Impl::SetMeText(const OUString& _sText)
{
FormEditData* pData = m_pHelper->getFormEditData();
@@ -1586,6 +1594,7 @@ void FormulaDlg_Impl::SetMeText(const OUString& _sText)
pMEdit->SetSelection( pData->GetSelection());
m_pMEFormula->UpdateOldSel();
}
+
FormulaDlgMode FormulaDlg_Impl::SetMeText( const OUString& _sText, sal_Int32 PrivStart, sal_Int32 PrivEnd, bool bMatrix, bool _bSelect, bool _bUpdate)
{
FormulaDlgMode eMode = FORMULA_FORMDLG_FORMULA;
@@ -1605,6 +1614,7 @@ FormulaDlgMode FormulaDlg_Impl::SetMeText( const OUString& _sText, sal_Int32 Pri
} // if ( _bUpdate )
return eMode;
}
+
bool FormulaDlg_Impl::CheckMatrix(OUString& aFormula)
{
pMEdit->GrabFocus();
@@ -1623,6 +1633,7 @@ bool FormulaDlg_Impl::CheckMatrix(OUString& aFormula)
m_pTabCtrl->SetCurPageId(TP_STRUCT);
return bMatrix;
}
+
IMPL_LINK_NOARG( FormulaDlg_Impl, StructSelHdl, StructPage&, void)
{
bStructUpdate = false;
@@ -1630,6 +1641,7 @@ IMPL_LINK_NOARG( FormulaDlg_Impl, StructSelHdl, StructPage&, void)
m_pBtnForward->Enable(false); //@New
bStructUpdate = true;
}
+
IMPL_LINK_NOARG( FormulaDlg_Impl, MatrixHdl, Button*, void)
{
bUserMatrixFlag = true;
@@ -1892,6 +1904,7 @@ void FormulaDlg::UpdateParaWin( const Selection& _rSelection, const OUString& _s
{
m_pImpl->UpdateParaWin( _rSelection, _sRefStr);
}
+
bool FormulaDlg::UpdateParaWin(Selection& _rSelection)
{
return m_pImpl->UpdateParaWin(_rSelection);