[Libreoffice-commits] core.git: sfx2/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 18 02:46:26 UTC 2018


 sfx2/source/doc/docfile.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8dc3fe631583228fe5bb49b44d2308470ec30df0
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Dec 18 02:51:31 2018 +0100
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Dec 18 03:46:05 2018 +0100

    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 at collabora.com>

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;
 


More information about the Libreoffice-commits mailing list