From e44738096c7cc5f06247366cc9f9a1c4ac003b69 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 13 Aug 2011 00:47:47 +0100 Subject: callcatcher: remove ResetObjectBars_Impl --- sfx2/inc/sfx2/dispatch.hxx | 1 - sfx2/source/control/dispatch.cxx | 15 --------------- 2 files changed, 16 deletions(-) (limited to 'sfx2') diff --git a/sfx2/inc/sfx2/dispatch.hxx b/sfx2/inc/sfx2/dispatch.hxx index 177918c15421..b54d2f4c0d4d 100644 --- a/sfx2/inc/sfx2/dispatch.hxx +++ b/sfx2/inc/sfx2/dispatch.hxx @@ -237,7 +237,6 @@ public: SAL_DLLPRIVATE void Update_Impl( sal_Bool bForce = sal_False ); // ObjectBars etc. SAL_DLLPRIVATE sal_Bool IsUpdated_Impl() const; SAL_DLLPRIVATE void DebugOutput_Impl() const; - SAL_DLLPRIVATE void ResetObjectBars_Impl(); SAL_DLLPRIVATE int GetShellAndSlot_Impl( sal_uInt16 nSlot, SfxShell **ppShell, const SfxSlot **ppSlot, sal_Bool bOwnShellsOnly, sal_Bool bModal, sal_Bool bRealSlot=sal_True ); SAL_DLLPRIVATE void LockUI_Impl( sal_Bool bLock = sal_True ); diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index e28e68bd183c..1bd4c1373ec1 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -2608,21 +2608,6 @@ sal_uInt32 SfxDispatcher::GetObjectBarId( sal_uInt16 nPos ) const return pImp->aObjBars[nPos].nResId; } -//-------------------------------------------------------------------- -void SfxDispatcher::ResetObjectBars_Impl() - -/* [Description] - - With this method all Objectbar requirements which this Dispatcher - imposes on the AppWindow are eliminated. -*/ -{ - for (sal_uInt16 n=0; naObjBars[n].nResId = 0; - pImp->aChildWins.Remove(0, pImp->aChildWins.Count()); -} - - //-------------------------------------------------------------------- void SfxDispatcher::DebugOutput_Impl() const { -- cgit