summaryrefslogtreecommitdiff
path: root/cui/source/options/doclinkdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/doclinkdialog.cxx')
-rw-r--r--cui/source/options/doclinkdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/doclinkdialog.cxx b/cui/source/options/doclinkdialog.cxx
index 600d6cb3f871..34b961a6e56d 100644
--- a/cui/source/options/doclinkdialog.cxx
+++ b/cui/source/options/doclinkdialog.cxx
@@ -188,7 +188,7 @@ namespace svx
aParser.SetSmartProtocol(INetProtocol::File);
aParser.SetSmartURL(aFileDlg.GetPath());
- m_pName->SetText(aParser.getBase(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET));
+ m_pName->SetText(aParser.getBase(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset));
m_pName->SetSelection(Selection(0,m_pName->GetText().getLength()));
m_pName->GrabFocus();