diff options
author | Rasmus Jonsson <wasmus@zom.bi> | 2019-04-15 11:17:22 +0200 |
---|---|---|
committer | Jim Raykowski <raykowj@gmail.com> | 2019-04-18 03:11:57 +0200 |
commit | 96bf1e53fba51ad42742bba66469bea911b57325 (patch) | |
tree | bd7b07ea328e8684dbdcb72577c8b0452c66d149 /include/svx | |
parent | f6dc5636c1eda8aebeac3f7b85dd61499523d6a3 (diff) |
tdf#106723 Improve visibility of not found search term
Move SetSearchLabel definition to srchdlg.cxx
Set control foreground to red on failed search and reset on text input
modification.
For the find & replace dialog, use set_entry_error for the same.
Reset "not found" search label on modification of search term.
Change-Id: Ia89d2e8d3ca35e2c184d5b7048af8267b57f2c17
Reviewed-on: https://gerrit.libreoffice.org/70662
Tested-by: Jenkins
Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Tested-by: Heiko Tietze <tietze.heiko@gmail.com>
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/srchdlg.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 5786c1e84c74..3d19b6e7cae5 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -130,7 +130,7 @@ public: bool GetSrchFlag() { return mbSuccess; } void SetSaveToModule(bool b); - void SetSearchLabel(const OUString& rStr) { m_xSearchLabel->set_label(rStr); } + void SetSearchLabel(const OUString& rStr); private: bool mbSuccess; |