summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-26 18:24:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-26 18:24:41 +0100
commit85b5e24b903b6b4438ce422e6cb3eb8c7a02035f (patch)
tree1692cb053e2e6cdfd99aa3730cdc0e892bd410b5 /sal/rtl
parent038683bf4cf3b6f9e4f90295ddbab2d6a3d86b25 (diff)
Needless indirection
Change-Id: Idf514941f4bb05834d8ac0d7bafbe86e34377611
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/bootstrap.cxx9
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";