summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-08 09:16:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-08 10:09:01 +0000
commit6d8b06224cf1819c8af543927d7a80e937c50a94 (patch)
tree346a41bfad2f972713383280fc426ff5f2c36b08 /jvmfwk
parent9d5e53b67c7c131ab4cdc8e103373be2be7830c2 (diff)
callcatcher: update unused code
Change-Id: I3cd65d112339fa9c67ed462fe39acbbef91d4d8d
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,