summaryrefslogtreecommitdiff
path: root/sfx2/source/control/dispatch.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-06-06 14:20:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-06-06 14:52:49 +0100
commit516ed22b3f51982df7dbfa875ce8056e167da091 (patch)
tree1289a749232332299b693d006392a78dc1c1e8ca /sfx2/source/control/dispatch.cxx
parent35a65baefe99181685aea8e630d27c5e2a7c6bc4 (diff)
Remove remnants of help agent
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b but gobs of code (and UI) still existed to collect the help id and give it to the missing help agent with various UI visible options and buttons to control the help agent which isn't there Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r--sfx2/source/control/dispatch.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index f77cae4813c5..9acf705ee3be 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -239,16 +239,6 @@ int SfxDispatcher::Call_Impl( SfxShell& rShell, const SfxSlot &rSlot, SfxRequest
sal_Bool *pOldInCallAliveFlag = pImp->pInCallAliveFlag;
pImp->pInCallAliveFlag = &bThisDispatcherAlive;
- SfxViewFrame* pView = GetFrame();
- if ( !pView )
- pView = SfxViewFrame::Current();
- if ( pView )
- {
- OString aCmd(".uno:");
- aCmd += rSlot.GetUnoName();
- SfxHelp::OpenHelpAgent( &pView->GetFrame(), aCmd );
- }
-
SfxExecFunc pFunc = rSlot.GetExecFnc();
rShell.CallExec( pFunc, rReq );