summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-05 16:11:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-10-05 20:14:37 +0200
commit6aaeeb5a2a0cd7bc8c511c1bf7515e0943940797 (patch)
tree022f639ed51b0738a464e37ad970407467f4308c /dbaccess
parent1ea19958d6fed38513b1983599c2c43ad76aae61 (diff)
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 <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/control/dbtreelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
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;
}