summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/multipat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/multipat.cxx')
-rw-r--r--cui/source/dialogs/multipat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx
index f20db7a4583c..145077bd5c89 100644
--- a/cui/source/dialogs/multipat.cxx
+++ b/cui/source/dialogs/multipat.cxx
@@ -75,7 +75,7 @@ IMPL_LINK_NOARG(SvxMultiPathDialog, AddHdl_Impl, Button*, void)
{
INetURLObject aPath( xFolderPicker->getDirectory() );
aPath.removeFinalSlash();
- OUString aURL = aPath.GetMainURL( INetURLObject::NO_DECODE );
+ OUString aURL = aPath.GetMainURL( INetURLObject::DecodeMechanism::NONE );
OUString sInsPath;
osl::FileBase::getSystemPathFromFileURL(aURL, sInsPath);
@@ -108,7 +108,7 @@ IMPL_LINK_NOARG(SvxPathSelectDialog, AddHdl_Impl, Button*, void)
{
INetURLObject aPath( xFolderPicker->getDirectory() );
aPath.removeFinalSlash();
- OUString aURL = aPath.GetMainURL( INetURLObject::NO_DECODE );
+ OUString aURL = aPath.GetMainURL( INetURLObject::DecodeMechanism::NONE );
OUString sInsPath;
osl::FileBase::getSystemPathFromFileURL(aURL, sInsPath);