summaryrefslogtreecommitdiff
path: root/jvmfwk/source/elements.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source/elements.cxx')
-rw-r--r--jvmfwk/source/elements.cxx21
1 files changed, 0 insertions, 21 deletions
diff --git a/jvmfwk/source/elements.cxx b/jvmfwk/source/elements.cxx
index 02730683a0b4..8096841f6e18 100644
--- a/jvmfwk/source/elements.cxx
+++ b/jvmfwk/source/elements.cxx
@@ -1090,27 +1090,6 @@ void MergedSettings::getVmParametersArray(
*size = m_vmParams.size();
}
-void MergedSettings::getJRELocations(
- rtl_uString *** parLocations, sal_Int32 * size) const
-{
- osl::MutexGuard guard(FwkMutex::get());
- assert(parLocations != NULL && size != NULL);
-
- *parLocations = static_cast<rtl_uString **>(
- rtl_allocateMemory(sizeof(rtl_uString*) * m_JRELocations.size()));
- if (*parLocations == NULL)
- return;
-
- int j=0;
- typedef std::vector<OUString>::const_iterator it;
- for (it i = m_JRELocations.begin(); i != m_JRELocations.end();
- ++i, ++j)
- {
- (*parLocations)[j] = i->pData;
- rtl_uString_acquire(i->pData);
- }
- *size = m_JRELocations.size();
-}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */