summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/relationdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-02 15:05:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-04 21:40:44 +0200
commit67e5f16e53a05587c4f36518a56e931f4708e16b (patch)
treed5f250ce65195ef6937199c5715e9937915b774c /dbaccess/source/ui/relationdesign
parentcd9c8851baf0f74f0f5044eedf8d2afaff895164 (diff)
weld OTableWindowListBox
Change-Id: Iae1d2da93fd150d2a333a55bd5b3c06aad0a308f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100030 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/relationdesign')
-rw-r--r--dbaccess/source/ui/relationdesign/RelationTableView.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/dbaccess/source/ui/relationdesign/RelationTableView.cxx b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
index a55222096368..9423d1a8470c 100644
--- a/dbaccess/source/ui/relationdesign/RelationTableView.cxx
+++ b/dbaccess/source/ui/relationdesign/RelationTableView.cxx
@@ -178,8 +178,10 @@ void ORelationTableView::AddConnection(const OJoinExchangeData& jxdSource, const
pDestWin->GetData());
// the names of the affected fields
- OUString sSourceFieldName = jxdSource.pListBox->GetEntryText(jxdSource.pEntry);
- OUString sDestFieldName = jxdDest.pListBox->GetEntryText(jxdDest.pEntry);
+ weld::TreeView& rSourceTreeView = jxdSource.pListBox->get_widget();
+ OUString sSourceFieldName = rSourceTreeView.get_text(jxdSource.nEntry);
+ weld::TreeView& rDestTreeView = jxdDest.pListBox->get_widget();
+ OUString sDestFieldName = rDestTreeView.get_text(jxdDest.nEntry);
// the number of PKey-Fields in the source
const Reference< XNameAccess> xPrimaryKeyColumns = getPrimaryKeyColumns_throw(pSourceWin->GetData()->getTable());