summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-03-02 19:50:45 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-03-02 19:50:45 +0100
commit0a27cb971afbf34f338ca3736ef332e9854a4766 (patch)
treef6797dc65266bfbabf0aee18310e0652480d64c8 /jvmfwk
parent70d13d5a186ef259c01925a8f25674706ea0614a (diff)
parenta32dc82cb73aabdc6c7b04bfaa9f47fe0a668701 (diff)
CWS-TOOLING: integrate CWS jl145
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/util.cxx5
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