summaryrefslogtreecommitdiffstats
path: root/jvmfwk
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/inc/fwkbase.hxx2
-rw-r--r--jvmfwk/source/fwkbase.cxx26
2 files changed, 0 insertions, 28 deletions
diff --git a/jvmfwk/inc/fwkbase.hxx b/jvmfwk/inc/fwkbase.hxx
index 8fe077b79a28..8d9ae93a995e 100644
--- a/jvmfwk/inc/fwkbase.hxx
+++ b/jvmfwk/inc/fwkbase.hxx
@@ -40,8 +40,6 @@ public:
VendorSettings();
boost::optional<VersionInfo> getVersionInformation(const OUString & sVendor) const;
-
- ::std::vector< OUString> getSupportedVendors() const;
};
/* The class offers functions to retrieve verified bootstrap parameters.
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx
index 73d7925f8707..1ea13e8f0c42 100644
--- a/jvmfwk/source/fwkbase.cxx
+++ b/jvmfwk/source/fwkbase.cxx
@@ -210,32 +210,6 @@ boost::optional<VersionInfo> VendorSettings::getVersionInformation(const OUStrin
return aVersionInfo;
}
-std::vector<OUString> VendorSettings::getSupportedVendors() const
-{
- std::vector<OUString> vecVendors;
- //get the nodeset for the vendor elements
- jfw::CXPathObjectPtr result;
- result = xmlXPathEvalExpression(
- reinterpret_cast<xmlChar const *>("/jf:javaSelection/jf:vendorInfos/jf:vendor"),
- m_xmlPathContextVendorSettings);
- if (!xmlXPathNodeSetIsEmpty(result->nodesetval))
- {
- //get the values of the vendor elements + name attribute
- xmlNode* cur = result->nodesetval->nodeTab[0];
- while (cur != nullptr)
- {
- //between vendor elements are also text elements
- if (cur->type == XML_ELEMENT_NODE)
- {
- jfw::CXmlCharPtr sAttrVendor(xmlGetProp(cur, reinterpret_cast<xmlChar const *>("name")));
- vecVendors.push_back(sAttrVendor);
- }
- cur = cur->next;
- }
- }
- return vecVendors;
-}
-
::std::vector<OString> BootParams::getVMParameters()
{
::std::vector<OString> vecParams;