Kaydet (Commit) ee0f84f1 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

fdo#48496 Decode file URL path segment dispalyed as "place" name

üst 619b3143
......@@ -1436,7 +1436,8 @@ IMPL_STATIC_LINK ( SvtFileDialog, AddPlacePressed_Hdl, void*, EMPTYARG )
// Maybe open the PlacesDialog would have been a better idea
// there is an ux choice to make we did not make...
INetURLObject aURLObj( pThis->_pFileView->GetViewURL() );
PlacePtr newPlace(new Place( aURLObj.GetLastName(),
PlacePtr newPlace(
new Place( aURLObj.GetLastName(INetURLObject::DECODE_WITH_CHARSET),
::rtl::OUString(pThis->_pFileView->GetViewURL()), true));
pThis->_pImp->_pPlaces->AppendPlace(newPlace);
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment