diff options
Diffstat (limited to 'sw/source/uibase/dbui')
-rw-r--r-- | sw/source/uibase/dbui/dbmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index 64ec3bd4e391..c8e3554d9fb9 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -2721,7 +2721,7 @@ OUString LoadAndRegisterDataSource_Impl(DBConnURIType type, const uno::Reference case DBConnURIType::FLAT: case DBConnURIType::DBASE: //set the filter to the file name without extension - aFilters[0] = rURL.getBase(); + aFilters[0] = rURL.getBase(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::Unambiguous); aTableFilterAny <<= aFilters; break; case DBConnURIType::MSJET: |