summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-18 02:51:31 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-18 03:46:05 +0100
commit8dc3fe631583228fe5bb49b44d2308470ec30df0 (patch)
treee9f08c4c4ca28300de26a43dd347b25199d50ce8
parent9eacb42ca081302faa62ac0f8c0af0adfa0e920b (diff)
tdf#116320: properly decode file name for File Locked dialog
Change-Id: I51bd7c6695ef52b08e0b6d809160d74daebb8505 Reviewed-on: https://gerrit.libreoffice.org/65298 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--sfx2/source/doc/docfile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 45449a26731b..7c23cfa90046 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -1002,7 +1002,8 @@ SfxMedium::ShowLockResult SfxMedium::ShowLockedDocumentDialog(const OUString& aD
if ( xHandler.is() && ( bIsLoading || !bHandleSysLocked || bOwnLock ) )
{
- OUString aDocumentURL = GetURLObject().GetLastName();
+ OUString aDocumentURL
+ = GetURLObject().GetLastName(INetURLObject::DecodeMechanism::WithCharset);
OUString aInfo;
::rtl::Reference< ::ucbhelper::InteractionRequest > xInteractionRequestImpl;