summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-09-22 10:03:36 -0800
committerJim Raykowski <raykowj@gmail.com>2018-10-07 08:54:51 +0200
commit3250c27b86d420d4891e1f83d8b11f9999b2a7d0 (patch)
tree37b686ee9ad1ed1326fb93b24b51a97be15e39bc /sw/source
parent6dacf9ec5455bdad82e78470a1a7cb6d2271bec7 (diff)
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@gmail.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/utlui/content.cxx3
1 files changed, 2 insertions, 1 deletions
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);
}
}