sc/source/ui/miscdlgs/dataproviderdlg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 56e1b57bd921c2dcaa4bb5932b38ea6c93eb49bd
Author:     Regina Henschel <[email protected]>
AuthorDate: Fri Nov 28 15:50:43 2025 +0100
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Dec 1 15:43:59 2025 +0100

    tdf#169077 dataproviderdlg setID expects mxEditID
    
    maID needs to contain the string from mxEditID. In content it needs to
    be the XPath to the desired table element in the imported source.
    You can see the use of this element in the already working unit test
    ScDataProvidersTest::testHTMLImport
    
    Change-Id: If4de7fa345205e5afc2d93a198d88b6788be3700
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194789
    Tested-by: Jenkins
    Reviewed-by: Regina Henschel <[email protected]>
    (cherry picked from commit 9187f38b48956acc892fbf3e7fe0d1942fcfb6f2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194879
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx 
b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
index 7d4e851c48ab..0be34cbbe0ec 100644
--- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx
+++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx
@@ -896,7 +896,7 @@ sc::ExternalDataSource 
ScDataProviderDlg::getDataSource(ScDocument* pDoc)
 {
     sc::ExternalDataSource aSource(mxEditURL->get_text(), 
mxProviderList->get_active_id(), pDoc);
 
-    aSource.setID(mxProviderList->get_active_id());
+    aSource.setID(mxEditID->get_text());
     return aSource;
 }
 

Reply via email to