summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2020-01-10 21:58:44 -0900
committerJim Raykowski <raykowj@gmail.com>2020-01-13 04:21:54 +0100
commit6e71005fb44a402b364233964a203f7c1e33b4c4 (patch)
tree72aa1f5d4993a59ff716c3bc3f648960508cd7e0 /sw
parent628189b73465b811fd7083e1fdc8533443b52588 (diff)
tdf#115600 Fix navigate by reminder wrap messages
Navigating by reminders is done in the order which reminders are set. This patch corrects wrap messages displayed when first and last reminders are reached and continued from the last and first reminder. Change-Id: Iaea1965df149a029b4b1e2df059a8d73306f901c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86629 Tested-by: Jenkins Reviewed-by: Jim Raykowski <raykowj@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/uiview/viewmdi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/viewmdi.cxx b/sw/source/uibase/uiview/viewmdi.cxx
index 1b660148326d..adea583c4289 100644
--- a/sw/source/uibase/uiview/viewmdi.cxx
+++ b/sw/source/uibase/uiview/viewmdi.cxx
@@ -492,7 +492,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void )
if (m_nActMark >= MAX_MARKS || m_nActMark >= static_cast<sal_Int32>(vNavMarkNames.size()))
{
m_nActMark = 0;
- SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::EndWrapped );
+ SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::ReminderEndWrapped );
}
}
else
@@ -501,7 +501,7 @@ IMPL_LINK( SwView, MoveNavigationHdl, void*, p, void )
if (m_nActMark < 0 || m_nActMark >= static_cast<sal_Int32>(vNavMarkNames.size()))
{
m_nActMark = vNavMarkNames.size()-1;
- SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::StartWrapped );
+ SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::ReminderStartWrapped );
}
}
rSh.GotoMark(vNavMarkNames[m_nActMark]);