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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 6 08:55:52 UTC 2020


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

New commits:
commit a3c8951da607d63ac7ffc76a062bb76208ca5ff3
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Mar 5 15:45:26 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Mar 6 09:55:17 2020 +0100

    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 at redhat.com>

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


More information about the Libreoffice-commits mailing list