diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-02 13:50:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:00 +0200 |
commit | 5133b27e638140ba574016b33dae70ca92edc323 (patch) | |
tree | 8c113b072c017a2beb6b96fa144c7ccb399373f5 /sfx2/source/control/bindings.cxx | |
parent | 062e40c76bcab664907737feace74f134a25c29c (diff) |
loplugin:constantfunction: sfx2
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
Diffstat (limited to 'sfx2/source/control/bindings.cxx')
-rw-r--r-- | sfx2/source/control/bindings.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx index 9b22f4e7857e..b002aabcefb6 100644 --- a/sfx2/source/control/bindings.cxx +++ b/sfx2/source/control/bindings.cxx @@ -300,9 +300,6 @@ void SfxBindings::DeleteControllers_Impl() SfxStateCache *pCache = (*pImp->pCaches)[nCache]; sal_uInt16 nSlotId = pCache->GetId(); - // Delete SfxPopupWindow - pCache->DeleteFloatingWindows(); - // Re-align, because the cache may have been reduced sal_uInt16 nNewCount = pImp->pCaches->size(); if ( nNewCount < nCount ) @@ -385,8 +382,6 @@ void SfxBindings::HidePopupCtrls_Impl( bool bHide ) pImp->ePopupAction = SFX_POPUP_SHOW; } - for(SfxStateCacheArr_Impl::const_iterator it = pImp->pCaches->begin(); it != pImp->pCaches->end(); ++it) - (*it)->DeleteFloatingWindows(); pImp->ePopupAction = SFX_POPUP_DELETE; } |