summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filglob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filglob.cxx')
-rw-r--r--ucb/source/ucp/file/filglob.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/filglob.cxx b/ucb/source/ucp/file/filglob.cxx
index 4c5ea1249e87..2ff92af3acb8 100644
--- a/ucb/source/ucp/file/filglob.cxx
+++ b/ucb/source/ucp/file/filglob.cxx
@@ -174,11 +174,11 @@ namespace fileaccess {
OUString newName(
const OUString& aNewPrefix,
const OUString& aOldPrefix,
- const OUString& old_Name )
+ std::u16string_view old_Name )
{
sal_Int32 srcL = aOldPrefix.getLength();
- return aNewPrefix + old_Name.subView( srcL );
+ return aNewPrefix + old_Name.substr( srcL );
}