| commit | 4386e5555dcf40b54343771fb24287641611b135 | [log] |
|---|---|---|
| author | Andreas Heinisch <andreas.heinisch@yahoo.de> | Fri Jul 28 09:37:47 2023 +0200 |
| committer | Eike Rathke <erack@redhat.com> | Sat Jul 29 20:42:38 2023 +0200 |
| tree | 75c5248556e2c18eee6840aefd704c2767eb3997 | |
| parent | 3326ae0a9902395224ddd95ca3df069ebffe2990 [diff] |
tdf#142600 - External links dialog: list database ranges Regression from commit 462f9d1f589a7afd66d3fc61925467d3b68e5b31 where the database ranges were dropped. Change-Id: Ic0e453fc6fe62849d72b6acf88ed7ebd3c47775b (cherry picked from commit f7c3ded18a757e31b23723ea335febf442acae68) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155030 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx b/sc/source/ui/miscdlgs/linkarea.cxx index 09cfe6c..6b17164 100644 --- a/sc/source/ui/miscdlgs/linkarea.cxx +++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -29,6 +29,7 @@ #include <svtools/sfxecode.hxx> #include <o3tl/string_view.hxx> #include <dbdata.hxx> #include <linkarea.hxx> #include <docsh.hxx> #include <tablink.hxx> @@ -259,6 +260,13 @@ void ScLinkedAreaDlg::UpdateSourceRanges() m_xLbRanges->append_text(pRangeData->GetName()); } } // tdf#142600 - list database ranges if (const auto pDBs = m_pSourceShell->GetDocument().GetDBCollection()) { const auto& rNamedDBs = pDBs->getNamedDBs(); for (const auto& rNamedDB : rNamedDBs) m_xLbRanges->append_text(rNamedDB->GetName()); } } m_xLbRanges->thaw();