summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail..com>2019-07-10 15:06:37 -0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-11 09:26:24 +0200
commitf1e36c1581d1198c566872c29a0ff12c94a2a18f (patch)
treefd0c0aeb18a869d0171266d66b2a39d6905f8d3b /sw/source/uibase/uiview
parentf998fc0d66c8f79f417e13e2b1103efae7a95719 (diff)
Rework tdf#115600 Display not found message for Navigate by Selection
Fixes not found message being displayed in find bar when a header or footer is deleted and other uses of SwCursorShell::GoNextCursor and SwCursorShell::GoPrevCursor when SwCursorShell::m_pCurrentCursor is not multi selection. Change-Id: Ie71d39e51b05363ad33ba2f912ac36273c38b8b4 Reviewed-on: https://gerrit.libreoffice.org/75386 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index d6178fcad40c..4fd706e84667 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -439,7 +439,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void )
bNext ? rSh.GotoNextOutline() : rSh.GotoPrevOutline();
break;
case NID_SEL :
- bNext ? rSh.GoNextCursor() : rSh.GoPrevCursor();
+ rSh.GoNextPrevCursorSetSearchLabel(bNext);
break;
case NID_FTN:
{