cui/source/dialogs/thesdlg.cxx  |    3 ++-
 cui/source/options/optlingu.cxx |    4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 0d6a8aaab7c27c8e1836db9a5f81d43d6379cbec
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Mar 26 14:34:19 2020 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Mar 26 21:02:22 2020 +0100

    explicitly set no text emphasis on the non-header entries
    
    Change-Id: Ie8fb850febcb4b3808c3f8846f5324ea2bbb1bec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91146
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index 5792d456b702..612f5fe019b2 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -107,12 +107,13 @@ bool SvxThesaurusDialog::UpdateAlternativesBox_Impl()
         OUString sHeading = OUString::number(i + 1) + ". " + rMeaningTxt;
         m_xAlternativesCT->append_text(sHeading);
         m_xAlternativesCT->set_text_emphasis(nRow, true, 0);
-
         ++nRow;
+
         for (sal_Int32 k = 0;  k < nSynonyms; ++k)
         {
             // GetThesaurusReplaceText will strip the leading spaces
             m_xAlternativesCT->append_text("   " + pSynonyms[k]);
+            m_xAlternativesCT->set_text_emphasis(nRow, false, 0);
             ++nRow;
         }
     }
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index bf280e370660..738a6986cd6e 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1769,6 +1769,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const 
SvxLanguageBox* pBox)
                 m_xModulesCLB->set_id(nRow, sId);
                 m_xModulesCLB->set_toggle(nRow, bCheck ? TRISTATE_TRUE : 
TRISTATE_FALSE, 0);
                 m_xModulesCLB->set_text(nRow, aTxt, 1);
+                m_xModulesCLB->set_text_emphasis(nRow, false, 1);
                 ++nRow;
             }
         }
@@ -1819,6 +1820,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const 
SvxLanguageBox* pBox)
                 m_xModulesCLB->set_id(nRow, sId);
                 m_xModulesCLB->set_toggle(nRow, bCheck ? TRISTATE_TRUE : 
TRISTATE_FALSE, 0);
                 m_xModulesCLB->set_text(nRow, aTxt, 1);
+                m_xModulesCLB->set_text_emphasis(nRow, false, 1);
                 ++nRow;
             }
         }
@@ -1868,6 +1870,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const 
SvxLanguageBox* pBox)
                 m_xModulesCLB->set_id(nRow, sId);
                 m_xModulesCLB->set_toggle(nRow, bCheck ? TRISTATE_TRUE : 
TRISTATE_FALSE, 0);
                 m_xModulesCLB->set_text(nRow, aTxt, 1);
+                m_xModulesCLB->set_text_emphasis(nRow, false, 1);
                 ++nRow;
             }
         }
@@ -1917,6 +1920,7 @@ void SvxEditModulesDlg::LangSelectHdl_Impl(const 
SvxLanguageBox* pBox)
                 m_xModulesCLB->set_id(nRow, sId);
                 m_xModulesCLB->set_toggle(nRow, bCheck ? TRISTATE_TRUE : 
TRISTATE_FALSE, 0);
                 m_xModulesCLB->set_text(nRow, aTxt, 1);
+                m_xModulesCLB->set_text_emphasis(nRow, false, 1);
                 ++nRow;
             }
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to