summaryrefslogtreecommitdiff
path: root/extensions/source/dbpilots/controlwizard.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/dbpilots/controlwizard.cxx')
-rw-r--r--extensions/source/dbpilots/controlwizard.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx
index 4453b72f95f0..1e8494f73f13 100644
--- a/extensions/source/dbpilots/controlwizard.cxx
+++ b/extensions/source/dbpilots/controlwizard.cxx
@@ -213,7 +213,7 @@ namespace dbp
INetURLObject aURL( sDataSource );
if( aURL.GetProtocol() != INetProtocol::NotValid )
- sDataSource = aURL.GetName(INetURLObject::DecodeMechanism::WithCharset);
+ sDataSource = aURL.GetLastName(INetURLObject::DecodeMechanism::WithCharset);
m_pFormDatasource->SetText(sDataSource);
m_pFormTable->SetText(sCommand);