diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 14:36:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-16 06:19:38 +0000 |
commit | 96e9ffa64706f523d67659a20a0ccce6fbd0cb91 (patch) | |
tree | 81b9eaa904d20da4b6d3997a4cb69b29416c12c9 /formula | |
parent | 7fc7fad400c619e518448ee521b2aba099dccf9b (diff) |
loplogin:singlevalfields in include/
Change-Id: I27842162fcf82120ecb811ee8e89e187430931fc
Reviewed-on: https://gerrit.libreoffice.org/28931
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/dlg/formula.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 6173a5ae8c31..b24759eb0324 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -828,8 +828,8 @@ void FormulaDlg_Impl::FillListboxes() } else if ( pData ) { - pFuncPage->SetCategory( pData->GetCatSel() ); - pFuncPage->SetFunction( pData->GetFuncSel() ); + pFuncPage->SetCategory( 1 ); + pFuncPage->SetFunction( LISTBOX_ENTRY_NOTFOUND ); } FuncSelHdl(*pFuncPage); @@ -1902,8 +1902,6 @@ void FormEditData::Reset() pParent = nullptr; nMode = 0; nFStart = 0; - nCatSel = 1; //! oder 0 (zuletzt benutzte) - nFuncSel = LISTBOX_ENTRY_NOTFOUND; nOffset = 0; nEdFocus = 0; bMatrix = false; @@ -1918,8 +1916,6 @@ FormEditData& FormEditData::operator=( const FormEditData& r ) pParent = r.pParent; nMode = r.nMode; nFStart = r.nFStart; - nCatSel = r.nCatSel; - nFuncSel = r.nFuncSel; nOffset = r.nOffset; nEdFocus = r.nEdFocus; aUndoStr = r.aUndoStr; |