diff options
author | Hennes Rohling <hro@openoffice.org> | 2001-05-14 10:35:39 +0000 |
---|---|---|
committer | Hennes Rohling <hro@openoffice.org> | 2001-05-14 10:35:39 +0000 |
commit | 615c1455b19646c22330dd3b24918df20065996b (patch) | |
tree | 1d96b02ccb11f4e66a3cdcd0b7730a4369983a18 /configmgr/source | |
parent | 726afaf0b07efeb1ca0a67fcb5df50fa67037220 (diff) |
#TFU630#
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/misc/filehelper.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configmgr/source/misc/filehelper.cxx b/configmgr/source/misc/filehelper.cxx index f745df206ceb..c1ce43ef571a 100644 --- a/configmgr/source/misc/filehelper.cxx +++ b/configmgr/source/misc/filehelper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: filehelper.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: lla $ $Date: 2001-04-11 11:40:46 $ + * last change: $Author: hro $ $Date: 2001-05-14 11:35:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -86,8 +86,12 @@ namespace configmgr rtl::OUString FileHelper::convertFilenameToFileURL(rtl::OUString const& _sFilename) { rtl::OUString sURL; +#ifdef TF_FILEURL + osl::FileBase::getFileURLFromSystemPath( _sFilename, sURL ); +#else osl::File aConvert(ASCII("")); aConvert.normalizePath(_sFilename, sURL); +#endif return sURL; } |