summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/basedlgs.cxx
diff options
context:
space:
mode:
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 )
{