summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/basedlgs.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/dialog/basedlgs.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/dialog/basedlgs.cxx')
-rw-r--r--sfx2/source/dialog/basedlgs.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index 5fedbc3ff620..6b26bf3b0a8e 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -367,16 +367,6 @@ long SfxModelessDialog::Notify( NotifyEvent& rEvt )
{
pBindings->SetActiveFrame( pImp->pMgr->GetFrame() );
pImp->pMgr->Activate_Impl();
- Window* pWindow = rEvt.GetWindow();
- OString sHelpId;
- while ( sHelpId.isEmpty() && pWindow )
- {
- sHelpId = pWindow->GetHelpId();
- pWindow = pWindow->GetParent();
- }
-
- if ( !sHelpId.isEmpty() )
- SfxHelp::OpenHelpAgent( &pBindings->GetDispatcher_Impl()->GetFrame()->GetFrame(), sHelpId );
}
else if ( rEvt.GetType() == EVENT_LOSEFOCUS && !HasChildPathFocus() )
{
@@ -465,16 +455,6 @@ long SfxFloatingWindow::Notify( NotifyEvent& rEvt )
{
pBindings->SetActiveFrame( pImp->pMgr->GetFrame() );
pImp->pMgr->Activate_Impl();
- Window* pWindow = rEvt.GetWindow();
- OString sHelpId;
- while ( sHelpId.isEmpty() && pWindow )
- {
- sHelpId = pWindow->GetHelpId();
- pWindow = pWindow->GetParent();
- }
-
- if ( !sHelpId.isEmpty() )
- SfxHelp::OpenHelpAgent( &pBindings->GetDispatcher_Impl()->GetFrame()->GetFrame(), sHelpId );
}
else if ( rEvt.GetType() == EVENT_LOSEFOCUS )
{