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

Szymon Kłos szymon.klos at collabora.com
Wed Sep 27 11:23:30 UTC 2017


 sw/source/uibase/dbui/dbtree.cxx |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 176b161ac654c50eb5c128ebdb681fcf20509b35
Author: Szymon Kłos <szymon.klos at collabora.com>
Date:   Wed Sep 27 12:07:32 2017 +0200

    tdf#112634 Don't show broken connections in database tree
    
    Don't show connections if are broken. Done in the UI because
    internally this database is needed for export purposes.
    
    Change-Id: Ifa5d10a74874e38676b946a5e3be1e3b336e6410
    Reviewed-on: https://gerrit.libreoffice.org/42849
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    Tested-by: Szymon Kłos <szymon.klos at collabora.com>

diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx
index c0a3176855d7..221527a3db90 100644
--- a/sw/source/uibase/dbui/dbtree.cxx
+++ b/sw/source/uibase/dbui/dbtree.cxx
@@ -361,6 +361,11 @@ void  SwDBTreeList::RequestingChildren(SvTreeListEntry* pParent)
                         }
                     }
                 }
+                else
+                {
+                    // Defunct connection entry
+                    RemoveEntry(pParent);
+                }
             }
             catch (const Exception&)
             {


More information about the Libreoffice-commits mailing list