summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-06-25 12:54:23 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-07-16 09:53:14 +0200
commit3daae54d268d8770508f61cd7545f96a9df1ce49 (patch)
tree00a12716b0d5d4174aecb9b21fa33517db0a6ed0 /svtools
parentce1bf99e08a2ba0aad6ccbf3d64c4d8b626530c8 (diff)
PlaceEditDialog: Encode username
Change-Id: Iaedb63df57196ee291f29976f611075289a5255a
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 26a7e8a9af4a..bbc1f43a804b 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 ) );
}
}