[Libreoffice-commits] core.git: sw/source

Jim Raykowski raykowj at gmail.com
Fri Jun 1 02:06:08 UTC 2018


 sw/source/core/crsr/crstrvl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9e1a58a5d317215f91c3fa7745a2dab73783bc24
Author: Jim Raykowski <raykowj at gmail.com>
Date:   Fri May 25 18:05:23 2018 -0800

    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 at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

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;
     }
 


More information about the Libreoffice-commits mailing list