diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-04 14:19:01 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-08-10 13:18:17 +0200 |
commit | 09be57965fbdc291a25c4f48550f467b43a7177c (patch) | |
tree | cb24564c5b2b35620c6ff9d452d85eeee358eb2d | |
parent | d67cd0efbc08c92492f3b5fd7ffe35556052d52f (diff) |
explicit text column to avoid dummy nodes for non-toggle case
Change-Id: If216705929454146d39b291b9a6483c68c3eac89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100061
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | dbaccess/source/ui/dlg/adtabdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 4ad01555d226..35e29ed17f31 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -106,12 +106,12 @@ OUString TableListFacade::getSelectedName( OUString& _out_rAliasName ) const if (rTableList.iter_parent(*xCatalog)) { if (!xAll || !xCatalog->equal(*xAll)) - aCatalog = rTableList.get_text(*xCatalog); + aCatalog = rTableList.get_text(*xCatalog, 0); } - aSchema = rTableList.get_text(*xSchema); + aSchema = rTableList.get_text(*xSchema, 0); } } - aTableName = rTableList.get_text(*xEntry); + aTableName = rTableList.get_text(*xEntry, 0); OUString aComposedName; try @@ -318,7 +318,7 @@ OUString QueryListFacade::getSelectedName( OUString& _out_rAliasName ) const std::unique_ptr<weld::TreeIter> xEntry(m_rQueryList.make_iterator()); const bool bEntry = m_rQueryList.get_selected(xEntry.get()); if (bEntry) - sSelected = _out_rAliasName = m_rQueryList.get_text(*xEntry); + sSelected = _out_rAliasName = m_rQueryList.get_text(*xEntry, 0); return sSelected; } |