[Libreoffice-commits] core.git: sw/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 24 16:20:25 UTC 2020


 sw/source/ui/dialog/uiregionsw.cxx |   25 -------------------------
 1 file changed, 25 deletions(-)

New commits:
commit 7e3fcc17eace59a132849950ac7d9b95ac43323f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Apr 24 12:44:26 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Apr 24 18:19:48 2020 +0200

    remove unwanted commented out hunk
    
    Change-Id: Ie9c1b61d5375e9c3b44e6d7e173574c86af12c7a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92854
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

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)
 {


More information about the Libreoffice-commits mailing list