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 | 77821e4a2875dee3ef02e0dca59670779a99d63b (patch) | |
tree | a3ed9d00c62375dbbc50b3cdf09fe6b5376e1aad /fileaccess | |
parent | 0ec94a2946dcdb6373eedfbabefc29de34f6e5e1 (diff) |
#86013# OFileAccess::getFolderContents(): Decode folder contents
Diffstat (limited to 'fileaccess')
-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 6d9c82e6ef..fb139bf114 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 ); } } |