sw/source/ui/misc/glosbib.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 035bdbab49bb15a88d1c653dbf098ec3c17e0bde
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Nov 28 10:45:05 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Nov 28 13:11:14 2022 +0100

    stray left over debugging fprintfs
    
    Change-Id: Ic7c192dba1934c874326bee9c859b3818fb5d7a4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143377
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index a7dc7b267c7c..202a6222089c 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -202,14 +202,10 @@ IMPL_LINK_NOARG( SwGlossaryGroupDlg, SelectHdl, 
weld::TreeView&, void )
     if (nPos != -1)
     {
         GlosBibUserData* pFoundData = 
weld::fromId<GlosBibUserData*>(m_xGroupTLB->get_id(nPos));
-        fprintf(stderr, "comparing %s and %s\n",
-                OUStringToOString(pFoundData->sGroupName, 
RTL_TEXTENCODING_UTF8).getStr(),
-                OUStringToOString(sEntry, RTL_TEXTENCODING_UTF8).getStr());
         bExists = pFoundData->sGroupName == sEntry;
     }
 
     m_xRenamePB->set_sensitive(!bExists && !sName.isEmpty());
-    fprintf(stderr, "one rename %d\n", !bExists && !sName.isEmpty());
     m_xDelPB->set_sensitive(IsDeleteAllowed(sEntry));
 }
 
@@ -383,7 +379,6 @@ IMPL_LINK_NOARG(SwGlossaryGroupDlg, ModifyHdl, 
weld::Entry&, void)
     m_xDelPB->set_sensitive(bEnableDel);
     m_xNewPB->set_sensitive(bEnableNew);
     m_xRenamePB->set_sensitive(bEnableNew && nEntry != -1);
-    fprintf(stderr, "two rename %d\n", bEnableNew && nEntry != -1);
 }
 
 bool SwGlossaryGroupDlg::IsDeleteAllowed(const OUString &rGroup)

Reply via email to