uui/source/secmacrowarnings.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f7a0e58a3c0670a8c3ecf03a38a821c7944b3895 Author: Andreas Heinisch <andreas.heini...@yahoo.de> AuthorDate: Sat Oct 9 00:07:32 2021 +0200 Commit: Andreas Heinisch <andreas.heini...@yahoo.de> CommitDate: Sat Oct 9 11:22:46 2021 +0200 Don't URL encode the filename in the macro security warning dialog Change-Id: Ic1243f562fa4142ffdfece7296223b693ce7fe90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123298 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de> 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); }