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 | f73c7c47ada1f080c02d6d633b73105dca229434 (patch) | |
tree | 829353a00aef4b11c91334a6c017233afedd957d /fileaccess | |
parent | d9233ee439f9af03605dcb5a32785326fef73726 (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 01265705ef63..26b894b6df43 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(); |