diff options
author | Jim Raykowski <raykowj@gmail.com> | 2018-05-25 18:05:23 -0800 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-06-01 04:05:44 +0200 |
commit | 9e1a58a5d317215f91c3fa7745a2dab73783bc24 (patch) | |
tree | 6f8701b4d6ac77da75380a8e55cfc10b0eab2aab /sw | |
parent | cdc6075e41a9f920b47dbf2c48fbb0c3632a0c8a (diff) |
tdf#115600 Use "Navigation element not found" message for Headings
...navigation when no Headings are found
Change-Id: I12268e32a974fed4735d67d7db5ccb35b896ceea
Reviewed-on: https://gerrit.libreoffice.org/54892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/crstrvl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx index fe4c0f8e8ed1..45114ba97a35 100644 --- a/sw/source/core/crsr/crstrvl.cxx +++ b/sw/source/core/crsr/crstrvl.cxx @@ -969,7 +969,7 @@ bool SwCursorShell::GotoNextOutline() if ( rNds.GetOutLineNds().size() == 0 ) { - SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::Empty ); + SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::NavElementNotFound ); return false; } @@ -1008,7 +1008,7 @@ bool SwCursorShell::GotoPrevOutline() if ( rNds.GetOutLineNds().size() == 0 ) { - SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::Empty ); + SvxSearchDialogWrapper::SetSearchLabel( SearchLabel::NavElementNotFound ); return false; } |