diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-06-06 14:20:21 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-06-09 20:04:54 +0200 |
commit | 28db167bee89f5b749f3853cdfd8cc1d21a058d2 (patch) | |
tree | b7a660f43b9b181e33ce381a912a3d9a7d285971 /cui/source/options/optgdlg.cxx | |
parent | e85b47e5ade19718d935dc543e48487e30e095b9 (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 'cui/source/options/optgdlg.cxx')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 7a3a9e3893ad..1ae32e158c6a 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -185,8 +185,6 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet) { get(m_pToolTipsCB, "tooltips"); get(m_pExtHelpCB, "exthelp"); - get(m_pHelpAgentCB, "helpagent"); - get(m_pHelpAgentResetBtn, "resethelpagent"); if (!lcl_HasSystemFilePicker()) get<VclContainer>("filedlgframe")->Hide(); #if !defined(MACOSX) && ! ENABLE_GTK @@ -219,8 +217,6 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet) aLink = LINK( this, OfaMiscTabPage, HelpCheckHdl_Impl ); m_pToolTipsCB->SetClickHdl( aLink ); - m_pHelpAgentCB->SetClickHdl( aLink ); - m_pHelpAgentResetBtn->SetClickHdl( LINK( this, OfaMiscTabPage, HelpAgentResetHdl_Impl ) ); } // ----------------------------------------------------------------------- @@ -249,9 +245,6 @@ sal_Bool OfaMiscTabPage::FillItemSet( SfxItemSet& rSet ) bChecked = ( m_pExtHelpCB->IsChecked() && m_pToolTipsCB->IsChecked() ); if ( bChecked != m_pExtHelpCB->GetSavedValue() ) aHelpOptions.SetExtendedHelp( bChecked ); - bChecked = m_pHelpAgentCB->IsChecked(); - if ( bChecked != m_pHelpAgentCB->GetSavedValue() ) - aHelpOptions.SetHelpAgentAutoStartMode( bChecked ); if ( m_pFileDlgCB->IsChecked() != m_pFileDlgCB->GetSavedValue() ) { @@ -300,12 +293,9 @@ void OfaMiscTabPage::Reset( const SfxItemSet& rSet ) SvtHelpOptions aHelpOptions; m_pToolTipsCB->Check( aHelpOptions.IsHelpTips() ); m_pExtHelpCB->Check( aHelpOptions.IsHelpTips() && aHelpOptions.IsExtendedHelp() ); - m_pHelpAgentCB->Check( aHelpOptions.IsHelpAgentAutoStartMode() ); m_pToolTipsCB->SaveValue(); m_pExtHelpCB->SaveValue(); - m_pHelpAgentCB->SaveValue(); - HelpCheckHdl_Impl(m_pHelpAgentCB); SvtMiscOptions aMiscOpt; m_pFileDlgCB->Check( !aMiscOpt.UseSystemFileDialog() ); @@ -372,21 +362,11 @@ IMPL_LINK( OfaMiscTabPage, TwoFigureConfigHdl, NumericField*, pEd ) IMPL_LINK_NOARG(OfaMiscTabPage, HelpCheckHdl_Impl) { m_pExtHelpCB->Enable( m_pToolTipsCB->IsChecked() ); - m_pHelpAgentResetBtn->Enable( m_pHelpAgentCB->IsChecked() ); return 0; } // ----------------------------------------------------------------------- -IMPL_LINK_NOARG(OfaMiscTabPage, HelpAgentResetHdl_Impl) -{ - SvtHelpOptions().resetAgentIgnoreURLCounter(); - return 0; -} - -// ----------------------------------------------------------------------- - -// ------------------------------------------------------------------- class CanvasSettings { public: |