diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-07 12:27:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-11 18:34:23 +0200 |
commit | 492b0d5d076d38234fea4e4e7c5dbec578296fd2 (patch) | |
tree | 47b4a17120d7d3c71bf7674b45768f38b761e360 /formula/source | |
parent | acd290431fd39ed0602e057e036326b46a99f7a8 (diff) |
weld conditional formatting
Change-Id: Ia9c99a17d5a95d67a412cfde959192c99caa70be
Reviewed-on: https://gerrit.libreoffice.org/71956
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/ui/dlg/funcutl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx index 8cf4b2155d3d..13730efe00a8 100644 --- a/formula/source/ui/dlg/funcutl.cxx +++ b/formula/source/ui/dlg/funcutl.cxx @@ -401,7 +401,7 @@ void WeldRefEdit::SetRefString( const OUString& rStr ) void WeldRefEdit::SetRefValid(bool bValid) { - xEntry->set_error(!bValid); + xEntry->set_message_type(bValid ? weld::EntryMessageType::Normal : weld::EntryMessageType::Error); } void WeldRefEdit::SetText(const OUString& rStr) |