diff options
author | Andreas Bregas <ab@openoffice.org> | 2000-12-06 15:09:56 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2000-12-06 15:09:56 +0000 |
commit | 668355807b7309b8736ad930011d3b4e3857cb33 (patch) | |
tree | 6ac5f8a09038747b960a9eac31d1100a6f7866b7 /fileaccess | |
parent | dde244df531866a5b0e3959728f9033203983d99 (diff) |
#81291# transferImpl(): Use correct decoding
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 1d54afd333..b087719cbc 100644 --- a/fileaccess/source/FileAccess.cxx +++ b/fileaccess/source/FileAccess.cxx @@ -2,9 +2,9 @@ * * $RCSfile: FileAccess.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ab $ $Date: 2000-11-30 11:21:47 $ + * last change: $Author: ab $ $Date: 2000-12-06 16:09:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -289,7 +289,8 @@ void OFileAccess::transferImpl( const OUString& rSource, const OUString& rDest, // SfxContentHelper::Transfer_Impl INetURLObject aSourceObj( rSource, INET_PROT_FILE ); INetURLObject aDestObj( rDest, INET_PROT_FILE ); - String aName = aDestObj.getName(); + String aName = aDestObj.getName( INetURLObject::LAST_SEGMENT, true, + INetURLObject::DECODE_WITH_CHARSET ); aDestObj.removeSegment(); aDestObj.setFinalSlash(); |