[Libreoffice-commits] .: fpicker/source
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Tue Apr 10 05:11:38 PDT 2012
fpicker/source/office/iodlg.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit ee0f84f18071bc6cb8381e590c28dad9a0122625
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Apr 10 14:11:22 2012 +0200
fdo#48496 Decode file URL path segment dispalyed as "place" name
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index af9dfed..ce350e0 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -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;
More information about the Libreoffice-commits
mailing list