From 7e3fcc17eace59a132849950ac7d9b95ac43323f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 24 Apr 2020 12:44:26 +0100 Subject: remove unwanted commented out hunk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ie9c1b61d5375e9c3b44e6d7e173574c86af12c7a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92854 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- sw/source/ui/dialog/uiregionsw.cxx | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index 0d86feff4bf3..ac8c987ea227 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -715,31 +715,6 @@ IMPL_LINK(SwEditRegionDlg, GetFirstEntryHdl, weld::TreeView&, rBox, void) bDontCheckPasswd = false; } -#if 0 -IMPL_LINK( SwEditRegionDlg, DeselectHdl, SvTreeListBox *, pBox, void ) -{ - if( pBox->GetSelectionCount() ) - return; - - m_xHideCB->set_sensitive(false); - m_xProtectCB->set_sensitive(false); - // edit in readonly sections - m_xEditInReadonlyCB->set_sensitive(false); - - m_xPasswdCB->set_sensitive(false); - m_xConditionFT->set_sensitive(false); - m_xConditionED->set_sensitive(false); - m_xFileCB->set_sensitive(false); - m_xDDEFrame->set_sensitive(false); - m_xDDECB->set_sensitive(false); - m_xCurName->set_sensitive(false); - - UseFileHdl(*m_xFileCB); - DDEHdl(m_xDDECB); - -} -#endif - // in OkHdl the modified settings are being applied and reversed regions are deleted IMPL_LINK_NOARG(SwEditRegionDlg, OkHdl, weld::Button&, void) { -- cgit