diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-10-05 16:11:44 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2022-10-06 04:42:37 +0200 |
commit | 4cad7711c35091e90515c446b4cae43c07ab4d90 (patch) | |
tree | d33a0423aed5a5e909f5f37e4b264ce782aacc91 | |
parent | update credits (diff) | |
download | core-4cad7711c35091e90515c446b4cae43c07ab4d90.tar.gz core-4cad7711c35091e90515c446b4cae43c07ab4d90.zip |
Resolves: tdf#149277 we don't want to search the whole tree for dups
just the immediate children of the supplied parent node
Change-Id: I79595fd940257615f0d012cb9a4556aea51d7db9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140964
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | dbaccess/source/ui/control/dbtreelistbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 2fd21fac1318..8ad535edb185 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -199,7 +199,7 @@ std::unique_ptr<weld::TreeIter> TreeListBox::GetEntryPosByName(std::u16string_vi return xEntry; } } - } while (m_xTreeView->iter_next(*xEntry)); + } while (m_xTreeView->iter_next_sibling(*xEntry)); return nullptr; } |