diff options
Diffstat (limited to 'sfx2/source/dialog/tabdlg.cxx')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index cc463289060b..75fcdef6bdb3 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1625,27 +1625,4 @@ void SfxTabDialog::SetInputSet( const SfxItemSet* pInSet ) } } -long SfxTabDialog::Notify( NotifyEvent& rNEvt ) -{ - if ( rNEvt.GetType() == EVENT_GETFOCUS ) - { - SfxViewFrame* pViewFrame = GetViewFrame() ? GetViewFrame() : SfxViewFrame::Current(); - if ( pViewFrame ) - { - Window* pWindow = rNEvt.GetWindow(); - OString sHelpId; - while ( sHelpId.isEmpty() && pWindow ) - { - sHelpId = pWindow->GetHelpId(); - pWindow = pWindow->GetParent(); - } - - if ( !sHelpId.isEmpty() ) - SfxHelp::OpenHelpAgent( &pViewFrame->GetFrame(), sHelpId ); - } - } - - return TabDialog::Notify( rNEvt ); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |