diff options
author | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-10-09 00:07:32 +0200 |
---|---|---|
committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | 2021-10-09 11:22:46 +0200 |
commit | f7a0e58a3c0670a8c3ecf03a38a821c7944b3895 (patch) | |
tree | 062338d001c9aa245a01629377cf6efe21b43d08 /uui/source | |
parent | f0fd4574fff6c91dd6fe53a5dbe1ed2509b616e4 (diff) |
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.heinisch@yahoo.de>
Diffstat (limited to 'uui/source')
-rw-r--r-- | uui/source/secmacrowarnings.cxx | 2 |
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); } |