diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-05-07 13:40:51 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-05-07 13:40:51 +0000 |
commit | 6bf62d1f26133b81a6762261fee87766375eb792 (patch) | |
tree | 8530ebbdb451d7c30496619b80e57215f7c3d279 /fileaccess/source | |
parent | 0e2d6bf54e14be0dcfcca71a608cdcae97df473d (diff) |
#86013# OFileAccess::getFolderContents(): Decode folder contents
Diffstat (limited to 'fileaccess/source')
-rw-r--r-- | fileaccess/source/FileAccess.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx index 67e00f3cc086..ac7e5470460c 100644 --- a/fileaccess/source/FileAccess.cxx +++ b/fileaccess/source/FileAccess.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FileAccess.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: jl $ $Date: 2001-03-22 12:51:43 $ + * last change: $Author: ab $ $Date: 2001-05-07 14:40:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -459,7 +459,8 @@ Sequence< OUString > OFileAccess::getFolderContents( const OUString& FolderURL, while ( xResultSet->next() ) { OUString aId = xContentAccess->queryContentIdentifierString(); - OUString* pFile = new OUString( aId ); + INetURLObject aURL( aId, INET_PROT_FILE ); + OUString* pFile = new OUString( aURL.GetMainURL( INetURLObject::DECODE_UNAMBIGUOUS ) ); pFiles->Insert( pFile, LIST_APPEND ); } } |