sw/source/uibase/dbui/dbtree.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 176b161ac654c50eb5c128ebdb681fcf20509b35 Author: Szymon KÅos <[email protected]> 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 <[email protected]> Tested-by: Szymon KÅos <[email protected]> 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&) {
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
