summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-13 00:47:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-15 09:20:41 +0100
commite44738096c7cc5f06247366cc9f9a1c4ac003b69 (patch)
tree9c351bbd51dd098a862a6760cb7689b50c26c398
parentad282070c5b351e8cbfe12ec3b5d172f307277c9 (diff)
callcatcher: remove ResetObjectBars_Impl
-rw-r--r--sfx2/inc/sfx2/dispatch.hxx1
-rw-r--r--sfx2/source/control/dispatch.cxx15
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 17 deletions
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
@@ -2609,21 +2609,6 @@ sal_uInt32 SfxDispatcher::GetObjectBarId( sal_uInt16 nPos ) const
}
//--------------------------------------------------------------------
-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; n<SFX_OBJECTBAR_MAX; n++)
- pImp->aObjBars[n].nResId = 0;
- pImp->aChildWins.Remove(0, pImp->aChildWins.Count());
-}
-
-
-//--------------------------------------------------------------------
void SfxDispatcher::DebugOutput_Impl() const
{
#ifdef DBG_UTIL
diff --git a/unusedcode.easy b/unusedcode.easy
index d495e0e77cd7..217286683bb2 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -990,7 +990,6 @@ SfxDispatcher::Execute(SfxExecuteItem const&)
SfxDispatcher::ExecutePopup(unsigned short, Window*, Point const*, SfxPoolItem const*, ...)
SfxDispatcher::GetSlotId(String const&)
SfxDispatcher::HasSlot_Impl(unsigned short)
-SfxDispatcher::ResetObjectBars_Impl()
SfxDispatcher::SetModalMode_Impl(unsigned char)
SfxDispatcher::_Execute(SfxSlotServer const&)
SfxDocTemplate_Impl::GetTemplates(ucbhelper::Content&, ucbhelper::Content&, RegionData_Impl*)