summaryrefslogtreecommitdiff
path: root/javaunohelper
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-15 15:03:46 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-15 15:03:46 +0200
commitaa8f218079e2d311927d8aaf64b03b234453fb11 (patch)
tree4071b10f1d1481196e9c4ed565decb7b79b4b4a9 /javaunohelper
parentc58533fe4ada618eb6121d27362f7f540f26c3c0 (diff)
sd search: restore start selection if nothing was found
For one, if sd::Outliner::RememberStartPosition() cares about storing the current selection in the DrawViewShell case in maStartSelection, then sd::Outliner::RestoreStartPosition() should probably restore it. For another, sd::Outliner::StartSearchAndReplace() returned true in the "nothing was found" case, which restarted the spellchecking, which killed the selection. If the selection has been restored already, then at least don't kill it in the find case: find is read-only, so no need to restart the spellchecker. Change-Id: Idd886d449a9cfb164887fc6b1fde27b5e63e272b
Diffstat (limited to 'javaunohelper')
0 files changed, 0 insertions, 0 deletions