dbaccess/source/ui/control/dbtreelistbox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6aaeeb5a2a0cd7bc8c511c1bf7515e0943940797
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Oct 5 16:11:44 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Oct 5 20:14:37 2022 +0200

    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/+/140986
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx 
b/dbaccess/source/ui/control/dbtreelistbox.cxx
index 1dd94c35ee4f..24c9a83d2190 100644
--- a/dbaccess/source/ui/control/dbtreelistbox.cxx
+++ b/dbaccess/source/ui/control/dbtreelistbox.cxx
@@ -200,7 +200,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;
 }

Reply via email to