| commit | c69b3cec33267db9bd6e71ddb2f38e57bc1ceff1 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Sun Oct 09 20:40:41 2022 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Mon Oct 10 12:08:32 2022 +0200 |
| tree | 25a7f8f33563a766339bd4a182ac96a0d87279b3 | |
| parent | e155c38e75dff41d7e80ade3c7aa9e8e69572ad4 [diff] |
Resolves: tdf#151441 queries don't show any content Change-Id: I66ec14c7cb8816bc2181cc25f7d7f31fdc7d1604 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141068 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 8ad535ed..a9b9e58 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -186,8 +186,16 @@ TreeListBox::~TreeListBox() std::unique_ptr<weld::TreeIter> TreeListBox::GetEntryPosByName(std::u16string_view aName, const weld::TreeIter* pStart, const IEntryFilter* _pFilter) const { auto xEntry(m_xTreeView->make_iterator(pStart)); if (!pStart && !m_xTreeView->get_iter_first(*xEntry)) return nullptr; if (pStart) { if (!m_xTreeView->iter_children(*xEntry)) return nullptr; } else { if (!m_xTreeView->get_iter_first(*xEntry)) return nullptr; } do {