summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uui/source/secmacrowarnings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/uui/source/secmacrowarnings.cxx b/uui/source/secmacrowarnings.cxx
index 995eddc40246..79af305653ff 100644
--- a/uui/source/secmacrowarnings.cxx
+++ b/uui/source/secmacrowarnings.cxx
@@ -91,7 +91,7 @@ void MacroWarning::SetDocumentURL( const OUString& rDocURL )
OUString aPath;
osl::FileBase::getFileURLFromSystemPath(rDocURL, aPath);
- aPath = INetURLObject(aPath).GetLastName();
+ aPath = INetURLObject(aPath).GetLastName(INetURLObject::DecodeMechanism::Unambiguous);
m_xDialog->set_primary_text(aPath);
}