diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-23 02:24:56 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-05-23 02:50:43 +0200 |
commit | e44e09c400164e1f18aecfc67fbcae44a300b714 (patch) | |
tree | 0970fc931863c2d0a50f5c80fcf9ca1f8df632aa /formula | |
parent | e4ee3dd1dc062e0ed7681f499618a6a9069b8d25 (diff) |
whitespace clean-up
Change-Id: I10bdfc3356bda66fefa59fa2c9f63f9231d8728e
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/funcpage.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx index dd21c15b743b..252e461f4bc7 100644 --- a/formula/source/ui/dlg/funcpage.cxx +++ b/formula/source/ui/dlg/funcpage.cxx @@ -57,10 +57,6 @@ bool FormulaListBox::PreNotify( NotifyEvent& rNEvt ) return nResult; } - - - - inline sal_uInt16 Lb2Cat( sal_uInt16 nLbPos ) { // Category 0 == LRU, otherwise Categories == LbPos-1 @@ -70,8 +66,6 @@ inline sal_uInt16 Lb2Cat( sal_uInt16 nLbPos ) return nLbPos; } - - FuncPage::FuncPage(Window* pParent,const IFunctionManager* _pFunctionManager): TabPage(pParent,ModuleRes(RID_FORMULATAB_FUNCTION)), aFtCategory ( this, ModuleRes( FT_CATEGORY ) ), @@ -108,7 +102,7 @@ void FuncPage::impl_addFunctions(const IFunctionCategory* _pCategory) TFunctionDesc pDesc(_pCategory->getFunction(i)); aLbFunction.SetEntryData( aLbFunction.InsertEntry(pDesc->getFunctionName() ),(void*)pDesc ); - } // for(sal_uInt32 i = 0 ; i < nCount; ++i) + } } void FuncPage::UpdateFunctionList() @@ -194,10 +188,12 @@ void FuncPage::SetCategory(sal_Int32 nCat) aLbCategory.SelectEntryPos(nCat); UpdateFunctionList(); } + sal_Int32 FuncPage::GetFuncPos(const IFunctionDescription* _pDesc) { return aLbFunction.GetEntryPos(_pDesc); } + void FuncPage::SetFunction(sal_Int32 nFunc) { aLbFunction.SelectEntryPos(nFunc); @@ -227,6 +223,7 @@ OUString FuncPage::GetSelFunctionName() const { return aLbFunction.GetSelectEntry(); } + const IFunctionDescription* FuncPage::GetFuncDesc( sal_Int32 nPos ) const { // not pretty, but hopefully rare |