diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-12-13 11:45:33 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-12-13 11:45:33 +0000 |
commit | 8db5e82073fe81ab75ec5bc22df31cc2bc1a0f88 (patch) | |
tree | d049af7a3062d5239b58fe78ee84116e1226735a /tools | |
parent | 1f5ddbb5773c46cb51bef1da3763df9728d3009a (diff) |
INTEGRATION: CWS ineturl1 (1.18.38); FILE MERGED
2004/09/30 10:52:13 cmc 1.18.38.1: #i34006# modify INetURLObject to use rtl::OUString and rtl::OUStringBuffer
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/dirent.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/fsys/dirent.cxx b/tools/source/fsys/dirent.cxx index 918579b973b5..db259040af01 100644 --- a/tools/source/fsys/dirent.cxx +++ b/tools/source/fsys/dirent.cxx @@ -2,8 +2,8 @@ * * $RCSfile: dirent.cxx,v $ * - * $Revision: 1.18 $ - * last change: $Author: hjs $ $Date: 2004-06-25 17:11:09 $ + * $Revision: 1.19 $ + * last change: $Author: hr $ $Date: 2004-12-13 12:45:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -933,7 +933,7 @@ DirEntry::DirEntry( const String& rInitName, FSysPathStyle eStyle ) { #ifndef BOOTSTRAP DBG_WARNING( "File URLs are not permitted but accepted" ); - aTmpName = ByteString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding()); + aTmpName = ByteString(String(INetURLObject( rInitName ).PathToFileName()), osl_getThreadTextEncoding()); eStyle = FSYS_STYLE_HOST; #endif // BOOTSTRAP } @@ -989,7 +989,7 @@ DirEntry::DirEntry( const ByteString& rInitName, FSysPathStyle eStyle ) { #ifndef BOOTSTRAP DBG_WARNING( "File URLs are not permitted but accepted" ); - aTmpName = ByteString(INetURLObject( rInitName ).PathToFileName(), osl_getThreadTextEncoding()); + aTmpName = ByteString(String(INetURLObject( rInitName ).PathToFileName()), osl_getThreadTextEncoding()); eStyle = FSYS_STYLE_HOST; #endif } |