diff options
author | jan iversen <jani@documentfoundation.org> | 2015-12-24 14:47:22 +0000 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2015-12-25 20:01:23 +0000 |
commit | df862448b7400c0d7406afa0540c52c00632b62f (patch) | |
tree | 3e1071e8b0f10bef0cb3413fd9b2d931d71c19c8 /cui/source/options | |
parent | 321dc29fc51c1d901ed8e2bf166c2f1dc55c3ee5 (diff) |
Revert "Basic IDE Options code completion tweak."
This reverts commit 536fcf91de1bdbfca4c300484ebe672f9cbca0e7.
Based on a IRC discussion, it seems that a comment is enough to block a patch, and not as defined a -1.
Furthermore this patch caused a core dump on the munich tinderbox, where the cause is very unclear.
Change-Id: I0caeeb354444b33942ea08e056d26ead97264d74
Reviewed-on: https://gerrit.libreoffice.org/20924
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optbasic.cxx | 11 | ||||
-rw-r--r-- | cui/source/options/optbasic.hxx | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/cui/source/options/optbasic.cxx b/cui/source/options/optbasic.cxx index 5ee33b35a7c8..3feb235a0ae9 100644 --- a/cui/source/options/optbasic.cxx +++ b/cui/source/options/optbasic.cxx @@ -75,8 +75,6 @@ void SvxBasicIDEOptionsPage::LoadConfig() pAutocloseParenChk->Check( bParenClose ); pAutoCorrectChk->Check( bCorrect ); pUseExtendedTypesChk->Check( bExtended ); - pUseExtendedTypesChk->SetToggleHdl( LINK( this, SvxBasicIDEOptionsPage, EnableExtType ) ); - pCodeCompleteChk->Enable(pUseExtendedTypesChk->IsChecked()); } bool SvxBasicIDEOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) @@ -160,13 +158,4 @@ void SvxBasicIDEOptionsPage::FillUserData() SetUserData( aUserData ); } -IMPL_LINK_NOARG_TYPED(SvxBasicIDEOptionsPage, EnableExtType, CheckBox&, void) -{ - bool bEnable = pUseExtendedTypesChk->IsChecked(); - pCodeCompleteChk->Enable(bEnable); - if (!pUseExtendedTypesChk->IsChecked()) - { - pCodeCompleteChk->Check(false); - } -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/options/optbasic.hxx b/cui/source/options/optbasic.hxx index 918501c4b40c..3d3351833a23 100644 --- a/cui/source/options/optbasic.hxx +++ b/cui/source/options/optbasic.hxx @@ -35,8 +35,6 @@ private: VclPtr<CheckBox> pUseExtendedTypesChk; void LoadConfig(); - DECL_LINK_TYPED( EnableExtType, CheckBox&, void ); - public: SvxBasicIDEOptionsPage( vcl::Window* pParent, const SfxItemSet& rSet ); |