summaryrefslogtreecommitdiff
path: root/jvmfwk/source/fwkutil.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source/fwkutil.cxx')
-rw-r--r--jvmfwk/source/fwkutil.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index a77727865d17..dac76e58ea9e 100644
--- a/jvmfwk/source/fwkutil.cxx
+++ b/jvmfwk/source/fwkutil.cxx
@@ -182,14 +182,13 @@ OUString getDirFromFile(const OUString& usFilePath)
OUString getLibraryLocation()
{
- OString sExcMsg("[Java framework] Error in function getLibraryLocation "
- "(fwkutil.cxx).");
OUString libraryFileUrl;
if (!osl::Module::getUrlFromAddress(
reinterpret_cast< oslGenericFunction >(getLibraryLocation),
libraryFileUrl))
- throw FrameworkException(JFW_E_ERROR, sExcMsg);
+ throw FrameworkException(JFW_E_ERROR,
+ "[Java framework] Error in function getLibraryLocation (fwkutil.cxx).");
return getDirFromFile(libraryFileUrl);
}