summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/source/fwkutil.cxx12
-rw-r--r--jvmfwk/source/fwkutil.hxx4
2 files changed, 0 insertions, 16 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index b6a6eef63756..fc8feb37da31 100644
--- a/jvmfwk/source/fwkutil.cxx
+++ b/jvmfwk/source/fwkutil.cxx
@@ -183,18 +183,6 @@ OUString getDirFromFile(const OUString& usFilePath)
return OUString(usFilePath.getStr(), index);
}
-OUString getExecutableDirectory()
-{
- rtl_uString* sExe = NULL;
- if (osl_getExecutableFile( & sExe) != osl_Process_E_None)
- throw FrameworkException(
- JFW_E_ERROR,
- "[Java framework] Error in function getExecutableDirectory (fwkutil.cxx)");
-
- OUString ouExe(sExe, SAL_NO_ACQUIRE);
- return getDirFromFile(ouExe);
-}
-
OUString getLibraryLocation()
{
OString sExcMsg("[Java framework] Error in function getLibraryLocation "
diff --git a/jvmfwk/source/fwkutil.hxx b/jvmfwk/source/fwkutil.hxx
index af157d00ec06..6168d35c40b7 100644
--- a/jvmfwk/source/fwkutil.hxx
+++ b/jvmfwk/source/fwkutil.hxx
@@ -76,10 +76,6 @@ OUString getPlatform();
OUString getDirFromFile(const OUString& usFilePath);
-/** Returns the file URL of the folder where the executable resides.
- */
-OUString getExecutableDirectory();
-
enum FileStatus
{
FILE_OK,