diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-05-27 17:11:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-05-28 12:09:08 +0200 |
commit | dc8d9b6c31acb9234e76dbca8873ae3f963dac4b (patch) | |
tree | 51f2c410e75b5bc6742a3b0899f0287c7549f1bd /sd/source | |
parent | ccd534e31f9522eb29f1d14ffa180e4163094787 (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>
(cherry picked from commit 13769dea65137fc3c537de6257d15cb87b51f8ae)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95011
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/view/Outliner.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index e7f676f43e4e..b065a5c8d86f 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -480,8 +480,7 @@ bool SdOutliner::StartSearchAndReplace (const SvxSearchItem* pSearchItem) { SvxSearchDialog* pSearchDlg = static_cast<SvxSearchDialog*>(pChildWin->GetController().get()); - pSearchDlg->SetDocWin( pViewShell->GetActiveWindow(), nCommand ); - pSearchDlg->SetSrchFlag(false); + pSearchDlg->SetDocWin(pViewShell->GetActiveWindow(), nCommand, false); } } |