diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-26 18:24:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-27 11:58:14 +0100 |
commit | 0dd3b7697b912193b9a5daaf4d0991797db79de6 (patch) | |
tree | 80a7b53d5a13d3958e3a3fd40d7e5dda8ef3729d /sal | |
parent | b5795df5608c3dafa7895ab35a70ac172d68b32b (diff) |
Needless indirection
Change-Id: Idf514941f4bb05834d8ac0d7bafbe86e34377611
(cherry picked from commit 85b5e24b903b6b4438ce422e6cb3eb8c7a02035f)
Diffstat (limited to 'sal')
-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"; |