summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/filedlghelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/filedlghelper.cxx')
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index 364943f832b3..6718ccd721d9 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -2125,7 +2125,7 @@ void FileDialogHelper_Impl::saveConfig()
}
}
-OUString FileDialogHelper_Impl::getInitPath(const OUString& _rFallback,
+OUString FileDialogHelper_Impl::getInitPath(std::u16string_view _rFallback,
const sal_Int32 _nFallbackToken)
{
OUString sPath;
@@ -2152,7 +2152,7 @@ OUString FileDialogHelper_Impl::getInitPath(const OUString& _rFallback,
}
if ( sPath.isEmpty() )
- sPath = _rFallback.getToken( _nFallbackToken, ' ' );
+ sPath = o3tl::getToken(_rFallback, _nFallbackToken, ' ' );
// check if the path points to a valid (accessible) directory
bool bValid = false;