diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-26 18:24:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-26 18:24:41 +0100 |
commit | 85b5e24b903b6b4438ce422e6cb3eb8c7a02035f (patch) | |
tree | 1692cb053e2e6cdfd99aa3730cdc0e892bd410b5 | |
parent | 038683bf4cf3b6f9e4f90295ddbab2d6a3d86b25 (diff) |
Needless indirection
Change-Id: Idf514941f4bb05834d8ac0d7bafbe86e34377611
-rw-r--r-- | sal/rtl/bootstrap.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index 5719ae4301ec..f24881953770 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -213,15 +213,10 @@ static bool getFromCommandLineArgs( return found; } -inline void getExecutableFile_Impl (rtl_uString ** ppFileURL) -{ - osl_bootstrap_getExecutableFile_Impl (ppFileURL); -} - static void getExecutableDirectory_Impl (rtl_uString ** ppDirURL) { OUString fileName; - getExecutableFile_Impl (&(fileName.pData)); + osl_bootstrap_getExecutableFile_Impl (&(fileName.pData)); sal_Int32 nDirEnd = fileName.lastIndexOf('/'); OSL_ENSURE(nDirEnd >= 0, "Cannot locate executable directory"); @@ -259,7 +254,7 @@ static OUString & getIniFileName_Impl() } else { - getExecutableFile_Impl (&(fileName.pData)); + osl_bootstrap_getExecutableFile_Impl (&(fileName.pData)); // get rid of a potential executable extension OUString progExt = ".bin"; |