summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 4f3e07be5938..fece1bf7fb21 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -58,6 +58,7 @@
#include <algorithm>
#include <cassert>
#include <memory>
+#include <string_view>
using namespace ::comphelper;
using namespace connectivity;
@@ -2270,7 +2271,7 @@ void SAL_CALL ODbaseTable::rename( const OUString& newName )
}
namespace
{
- void renameFile(file::OConnection const * _pConnection,const OUString& oldName,
+ void renameFile(file::OConnection const * _pConnection,std::u16string_view oldName,
const OUString& newName,const OUString& _sExtension)
{
OUString aName = ODbaseTable::getEntry(_pConnection,oldName);