Kaydet (Commit) acbbd79b authored tarafından Marc Garcia's avatar Marc Garcia Kaydeden (comit) Jesús Corrius

Remove unused method VendorBase::getJavaExePaths(int*)

üst 19af8cc5
......@@ -39,10 +39,10 @@ namespace jfw_plugin
class VendorBase;
std::vector<rtl::OUString> getVectorFromCharArray(char const * const * ar, int size);
/* The function uses the relative paths, such as "bin/java.exe" as provided by
VendorBase::getJavaExePaths and the provided path to derive the the home directory.
The home directory is then used as argument to getJREInfoByPath. For example
usBinDir is file:///c:/j2sdk/jre/bin then file:///c:/j2sdk/jre would be derived.
/* The function uses the relative paths, such as "bin/java.exe" and the provided
path to derive the the home directory. The home directory is then used as
argument to getJREInfoByPath. For example usBinDir is
file:///c:/j2sdk/jre/bin then file:///c:/j2sdk/jre would be derived.
*/
bool getJREInfoFromBinPath(
const rtl::OUString& path, std::vector<rtl::Reference<VendorBase> > & vecInfos);
......
......@@ -71,22 +71,6 @@ VendorBase::VendorBase(): m_bAccessibility(false)
{
}
char const* const * VendorBase::getJavaExePaths(int* size)
{
static char const * ar[] = {
#if defined(WNT)
"java.exe",
"bin/java.exe"
#elif UNX
"java",
"bin/java"
#endif
};
*size = sizeof(ar) / sizeof(char*);
return ar;
}
rtl::Reference<VendorBase> VendorBase::createInstance()
{
VendorBase *pBase = new VendorBase();
......
......@@ -682,7 +682,6 @@ formula::EditBox::EditBox(Window*, long)
formula::FormulaListBox::FormulaListBox(Window*, long)
formula::FormulaTokenIterator::First()
jfw_plugin::VendorBase::createInstance()
jfw_plugin::VendorBase::getJavaExePaths(int*)
nullcanvas::SpriteCanvasHelper::backgroundPaint(basegfx::B2DRange const&)
nullcanvas::SpriteCanvasHelper::genericUpdate(basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&)
nullcanvas::SpriteCanvasHelper::opaqueUpdate(basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment