summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-02 20:12:54 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-05-06 12:51:23 +0200
commitd7e948938367048a4e408c30f2efb927e76a604e (patch)
treedb49c5476e833f943d068f00f17b8f8c430205d5 /sw/source
parent500e59e4825c0a140ed4bb4576ddb6a46f08c860 (diff)
use Label::set_label_type to designate a label as a warning/error
To be consistent with other cases. weld::LabelType::Error is another option. What colors, if any, it results in isn't cast in stone, but be consistent in that all warnings (or errors) use the same ones. Change-Id: I6943aa6370cf6cead60cd404987e8211532143eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113529 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/dbui/mmdocselectpage.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/dbui/mmdocselectpage.cxx b/sw/source/ui/dbui/mmdocselectpage.cxx
index 26e3a34d3a84..5ef0ee737f3a 100644
--- a/sw/source/ui/dbui/mmdocselectpage.cxx
+++ b/sw/source/ui/dbui/mmdocselectpage.cxx
@@ -52,6 +52,7 @@ SwMailMergeDocSelectPage::SwMailMergeDocSelectPage(weld::Container* pPage, SwMai
, m_xDataSourceWarningFT(m_xBuilder->weld_label("datasourcewarning"))
, m_xExchangeDatabasePB(m_xBuilder->weld_button("exchangedatabase"))
{
+ m_xDataSourceWarningFT->set_label_type(weld::LabelType::Warning);
m_xCurrentDocRB->set_active(true);
DocSelectHdl(*m_xNewDocRB);