summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2017-12-28 08:46:00 -0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-01-05 17:55:06 +0100
commit3a9877b74e1730424a41319a03f5b56a6102a76b (patch)
treefb442b99960b5824960044365590014295aff1cf /sw/source/uibase
parent52bab68b384309d618b03373b247401c9bcfd3de (diff)
tdf#114724 fix headings outline tracking highlight in Navigator
Change-Id: I7fac3c4a0f2d81c4decf59f707d1cb4d764e3e41 Reviewed-on: https://gerrit.libreoffice.org/47152 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/utlui/content.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index c28a8b9254cc..6f1e71e5b0c6 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -2082,6 +2082,7 @@ 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())));