summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-27 17:11:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-28 09:51:50 +0200
commit13769dea65137fc3c537de6257d15cb87b51f8ae (patch)
tree48e17b7e5052f9d98df96ac02f26048e2f092f93 /include
parente84d05483cc5f30161dc5b15f93fb3bf71ed636e (diff)
Related: tdf#133411 SetDocWin is using the previous search success state
not the new state The order of calls probably didn't matter in the past where the use of the flag was deferred until the Accessibility data was queried which would happen in another event loop. This makes it more clear that it appears that only calc actually does anything productive here. I think this flow-to has created more trouble that its worth and I'll remove it but if we need to restore it, then this, I think, it the working state to restore to. Change-Id: Id6fbb483c081f6d5142100d70c1b29705dcb6452 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95005 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/srchdlg.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 5c27e2de9e79..593d54487964 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -128,16 +128,12 @@ public:
TransliterationFlags GetTransliterationFlags() const;
- void SetDocWin(vcl::Window* pDocWin, SvxSearchCmd eCommand);
- void SetSrchFlag( bool bSuccess ) { mbSuccess = bSuccess; }
- bool GetSrchFlag() const { return mbSuccess; }
+ void SetDocWin(vcl::Window* pDocWin, SvxSearchCmd eCommand, bool bSuccess);
void SetSaveToModule(bool b);
void SetSearchLabel(const OUString& rStr);
private:
- bool mbSuccess;
-
SfxBindings& rBindings;
bool bWriter;
bool bSearch;