diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-03-02 19:50:45 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-03-02 19:50:45 +0100 |
commit | 0a27cb971afbf34f338ca3736ef332e9854a4766 (patch) | |
tree | f6797dc65266bfbabf0aee18310e0652480d64c8 /jvmfwk | |
parent | 70d13d5a186ef259c01925a8f25674706ea0614a (diff) | |
parent | a32dc82cb73aabdc6c7b04bfaa9f47fe0a668701 (diff) |
CWS-TOOLING: integrate CWS jl145
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/plugins/sunmajor/pluginlib/util.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx index 9bf38eb92..4ae83e579 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/util.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/util.cxx @@ -801,8 +801,9 @@ OUString resolveDirPath(const OUString & path) { OUString ret; OUString sResolved; + //getAbsoluteFileURL also resolves links if (File::getAbsoluteFileURL( - rtl::OUString(), path, sResolved) != File::E_None) + OUSTR("file:///"), path, sResolved) != File::E_None) return OUString(); //check if this is a valid path and if it is a directory @@ -832,7 +833,7 @@ OUString resolveFilePath(const OUString & path) OUString sResolved; if (File::getAbsoluteFileURL( - rtl::OUString(), path, sResolved) != File::E_None) + OUSTR("file:///"), path, sResolved) != File::E_None) return OUString(); //check if this is a valid path to a file or and if it is a link |