[Libreoffice-commits] core.git: Branch 'feature/gsoc15-open-remote-files-dialog' - svtools/source

Szymon Kłos eszkadev at gmail.com
Thu Jun 25 03:56:13 PDT 2015


 svtools/source/dialogs/PlaceEditDialog.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 842e5d46f1d80c2c83164ff871bca1c325cf6bef
Author: Szymon Kłos <eszkadev at gmail.com>
Date:   Thu Jun 25 12:54:23 2015 +0200

    PlaceEditDialog: Encode username
    
    Change-Id: Iaedb63df57196ee291f29976f611075289a5255a

diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 26a7e8a..bbc1f43 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -79,7 +79,8 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const std::shared_ptr<Pla
 
             // Fill the Username field
             if ( rUrl.HasUserData( ) )
-                m_pEDUsername->SetText( rUrl.GetUser( ) );
+                m_pEDUsername->SetText( INetURLObject::decode( rUrl.GetUser( ),
+                                                              INetURLObject::DECODE_WITH_CHARSET ) );
         }
     }
 


More information about the Libreoffice-commits mailing list