summaryrefslogtreecommitdiff
path: root/svx/source/form/databaselocationinput.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/databaselocationinput.cxx')
-rw-r--r--svx/source/form/databaselocationinput.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx
index c557751d10e3..64419352961e 100644
--- a/svx/source/form/databaselocationinput.cxx
+++ b/svx/source/form/databaselocationinput.cxx
@@ -242,7 +242,7 @@ namespace svx
INetURLObject aURL( aFileDlg.GetPath() );
if( aURL.GetProtocol() != INetProtocol::NotValid )
{
- ::svt::OFileNotation aFileNotation( aURL.GetMainURL( INetURLObject::NO_DECODE ) );
+ ::svt::OFileNotation aFileNotation( aURL.GetMainURL( INetURLObject::DecodeMechanism::NONE ) );
m_rLocationInput.SetText( aFileNotation.get( ::svt::OFileNotation::N_SYSTEM ) );
m_rLocationInput.GetModifyHdl().Call( m_rLocationInput );
// the dialog already checked for the file's existence, so we don't need to, again