summaryrefslogtreecommitdiff
path: root/jvmfwk/source
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-06 07:38:14 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-06 07:38:14 +0000
commit3e2337018b62b652b7ba7bef188b414100a085c6 (patch)
treee894c61f21e7274385683f9f296e955042544635 /jvmfwk/source
parent7851986bcf121569225a6239b3eb00399ef69a5b (diff)
INTEGRATION: CWS jl101 (1.12.12); FILE MERGED
2008/05/28 14:55:52 jl 1.12.12.1: #i89584# patch - remove unused code.
Diffstat (limited to 'jvmfwk/source')
-rw-r--r--jvmfwk/source/fwkbase.cxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/jvmfwk/source/fwkbase.cxx b/jvmfwk/source/fwkbase.cxx
index 0715eb9d1b24..eb966339129e 100644
--- a/jvmfwk/source/fwkbase.cxx
+++ b/jvmfwk/source/fwkbase.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fwkbase.cxx,v $
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
* This file is part of OpenOffice.org.
*
@@ -704,20 +704,6 @@ rtl::OString getVendorSettingsPath()
return getVendorSettingsPath(BootParams::getVendorSettings());
}
-rtl::OUString getApplicationBase()
-{
- rtl::OString sExcMsg("[Java framework] Error in function getApplicationBase (fwkutil.cxx)");
-
- rtl_uString* sExe = NULL;
- if (osl_getExecutableFile( & sExe) != osl_Process_E_None)
- throw FrameworkException(JFW_E_ERROR, sExcMsg);
-
- rtl::OUString ouExe(sExe, SAL_NO_ACQUIRE);
- rtl::OUString sBase = getDirFromFile(ouExe);
-
- OSL_ASSERT(sBase.getLength());
- return sBase;
-}
void setJavaSelected()
{
g_bJavaSet = true;