diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 12:53:37 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-13 15:12:03 +0100 |
commit | ec35fc62993111e4e7dd917e7dbc91ef82b02f74 (patch) | |
tree | 04965b0c2e1c4dafc652d2fa3898029366664cd7 /cui/source/dialogs/dlgname.cxx | |
parent | d66683f86a719b9961a076237aba07d6b4fea359 (diff) |
tdf#123936 Formatting files in module cui with clang-format
Change-Id: I473e2950bb9bd53043feeae31a27ae0c2fc7801d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105659
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'cui/source/dialogs/dlgname.cxx')
-rw-r--r-- | cui/source/dialogs/dlgname.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cui/source/dialogs/dlgname.cxx b/cui/source/dialogs/dlgname.cxx index d8044366b470..ffa540bbca5b 100644 --- a/cui/source/dialogs/dlgname.cxx +++ b/cui/source/dialogs/dlgname.cxx @@ -48,10 +48,11 @@ IMPL_LINK_NOARG(SvxNameDialog, ModifyHdl, weld::Entry&, void) bEnable = !m_xEdtName->get_text().isEmpty(); m_xBtnOK->set_sensitive(bEnable); // tdf#129032: feedback on reason to disabled controls - m_xEdtName->set_message_type(bEnable ? weld::EntryMessageType::Normal : weld::EntryMessageType::Error); + m_xEdtName->set_message_type(bEnable ? weld::EntryMessageType::Normal + : weld::EntryMessageType::Error); OUString rTip = ""; if (!bEnable && m_aCheckNameTooltipHdl.IsSet()) - rTip = m_aCheckNameTooltipHdl.Call(*this); + rTip = m_aCheckNameTooltipHdl.Call(*this); m_xBtnOK->set_tooltip_text(rTip); m_xEdtName->set_tooltip_text(rTip); } |