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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Oct 7 06:55:12 UTC 2018


 sw/source/uibase/utlui/content.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3250c27b86d420d4891e1f83d8b11f9999b2a7d0
Author:     Jim Raykowski <raykowj at gmail.com>
AuthorDate: Sat Sep 22 10:03:36 2018 -0800
Commit:     Jim Raykowski <raykowj at gmail.com>
CommitDate: Sun Oct 7 08:54:51 2018 +0200

    tdf#119900 Fix Navigator Content Navigation View Headings focus
    
    Change-Id: I884ae9d1f13646782f56a982d3d8dc0bc3aacee0
    Reviewed-on: https://gerrit.libreoffice.org/60906
    Tested-by: Jenkins
    Reviewed-by: Jim Raykowski <raykowj at gmail.com>

diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 91b1024aa9d8..a12b334dddc9 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2108,7 +2108,6 @@ bool SwContentTree::HasContentChanged()
             const SwOutlineNodes::size_type nActPos = GetWrtShell()->GetOutlinePos(MAXLEVEL);
             SvTreeListEntry* pFirstEntry = First();
 
-            SelectAll(false);
             while( nullptr != (pFirstEntry = Next(pFirstEntry)) )
             {
                 assert(dynamic_cast<SwOutlineContent*>(static_cast<SwTypeNumber*>(pFirstEntry->GetUserData())));
@@ -2120,6 +2119,8 @@ bool SwContentTree::HasContentChanged()
                         MakeVisible(pFirstEntry);
                     }
                 }
+                else
+                    Select(pFirstEntry, false);
             }
 
         }


More information about the Libreoffice-commits mailing list