diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-03-05 15:45:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-03-06 09:55:17 +0100 |
commit | a3c8951da607d63ac7ffc76a062bb76208ca5ff3 (patch) | |
tree | 7f25a7eb78a0855cd13c5c13d85edb7bef6e1c5f /sw/source | |
parent | f0cd0c7618f4463ad556ee0207ade62b6b2df962 (diff) |
redraw on a hard update
so we can remove the reliance on ::Paint to redraw in red missing links
Change-Id: I80db2d9212496f16ddb598971f9eaa0c4c39f692
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90050
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/uibase/utlui/glbltree.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index 5399547e0f97..43fd340f482f 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -1146,13 +1146,14 @@ bool SwGlobalTree::Update(bool bHard) ) ) { - bCopy = bRet = true; + bCopy = true; } } } if(bCopy || bHard) { *m_pSwGlblDocContents = std::move( *pTempContents ); + bRet = true; } } } |