diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-01-29 15:15:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-01-31 11:44:13 +0000 |
commit | 4b970fb14052796f85c9c2fb443222fc3a292b5a (patch) | |
tree | 0ae2dd90d8fd98ef34a32c39e2ffa9a6e85763bb /sc/source | |
parent | 4074786a14691362157c69df6ae5717ec3980f9f (diff) |
RecentFunctionsChanged doesn't do anything since...
function list was moved to sidebar
Change-Id: Icf97e0ec93b2080941f6dcd4d99d30437eac28d8
Reviewed-on: https://gerrit.libreoffice.org/21954
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 19 | ||||
-rw-r--r-- | sc/source/ui/unoobj/appluno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 1 |
3 files changed, 0 insertions, 22 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 162e355fd4e4..b5ca139671f2 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -759,25 +759,6 @@ void ScModule::InsertEntryToLRUList(sal_uInt16 nFIndex) ScAppOptions aNewOpts(rAppOpt); // Let App know aNewOpts.SetLRUFuncList(aIdxList, n); SetAppOptions(aNewOpts); - - RecentFunctionsChanged(); - } -} - -void ScModule::RecentFunctionsChanged() -{ - // update function list window - sal_uInt16 nFuncListID = ScFunctionChildWindow::GetChildWindowId(); - - //! notify all views - SfxViewFrame* pViewFrm = SfxViewFrame::Current(); - if (pViewFrm && pViewFrm->HasChildWindow(nFuncListID)) - { - ScFunctionChildWindow* pWnd = static_cast<ScFunctionChildWindow*>(pViewFrm->GetChildWindow(nFuncListID)); - if (!pWnd) - return; - ScFunctionDockWin* pFuncList = static_cast<ScFunctionDockWin*>(pWnd->GetWindow()); - pFuncList->InitLRUList(); } } diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx index b597272f0d06..a77fdf603da3 100644 --- a/sc/source/ui/unoobj/appluno.cxx +++ b/sc/source/ui/unoobj/appluno.cxx @@ -507,8 +507,6 @@ void SAL_CALL ScRecentFunctionsObj::setRecentFunctionIds( ScAppOptions aNewOpts(pScMod->GetAppOptions()); aNewOpts.SetLRUFuncList(pFuncs.get(), nCount); pScMod->SetAppOptions(aNewOpts); - - ScModule::RecentFunctionsChanged(); // update function list child window } sal_Int32 SAL_CALL ScRecentFunctionsObj::getMaxRecentFunctions() throw(uno::RuntimeException, std::exception) diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 57b9c3e89268..c7bcfd4f1c2d 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -498,7 +498,6 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab, if ( bOptChanged ) { pScMod->SetAppOptions(aAppOpt); - ScModule::RecentFunctionsChanged(); } } |