summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
diff options
context:
space:
mode:
authorHanno Meyer-Thurow <h.mth@web.de>2011-03-13 16:15:57 +0100
committerHanno Meyer-Thurow <h.mth@web.de>2011-03-14 18:51:13 +0100
commit6cd98b3d9ddaa5426930473d7ff07e4ff5725366 (patch)
tree1ee17fc33cf6955459e69dbfef2086859f96e5ad /jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
parentb6e36a7fa96ffbe722ef7fd47aab34247716e2fb (diff)
Merge Gentoo patches from old build and downstream repositories.
1. Do not add compiler default include and library path: potentially build against different version of system library than requested by the user. 2. Add a configure option to disable Python2 (PyUNO) bindings. Python3 is available for more than two years. Noone cares, therefore rest in peace. Python2 is going to be ditched at some point. Simply do not fail then. Windows builds need to be updated for BUILD_TYPE: "PYUNO". Or how is it handled nowadays? 3. Fix sandbox violation in officecfg module: rm /bin/<language>.zip 4. Add a configure option to search only in one place for JVMs, which is quite interesting for Linux Distributions. Enforce the user to place JVMs in one base directory. 5. Fix build for libxml-2.7.8 with ICU support. * config_office-XINC-XLIB-defaults.diff: (1) * disable-python.diff: (2) * gentoo-sandbox.diff: (3) * jvm-search-path.diff: (4) * libxmlsec_fix_extern_c.diff: (5)
Diffstat (limited to 'jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx')
-rw-r--r--jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
index 75f0f973ac16..3e5cf8ad5be0 100644
--- a/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
+++ b/jvmfwk/plugins/sunmajor/pluginlib/vendorbase.cxx
@@ -131,6 +131,7 @@ bool VendorBase::initialize(vector<pair<OUString, OUString> > props)
}
else if (!bHome && sHomeProperty.equals(i->first))
{
+#ifndef JVM_ONE_PATH_CHECK
OUString fileURL;
if (osl_getFileURLFromSystemPath(i->second.pData,& fileURL.pData) ==
osl_File_E_None)
@@ -144,6 +145,10 @@ bool VendorBase::initialize(vector<pair<OUString, OUString> > props)
bHome = true;
}
}
+#else
+ m_sHome = i->second;
+ bHome = true;
+#endif
}
else if (!bAccess && sAccessProperty.equals(i->first))
{