diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-14 10:00:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-15 12:18:46 +0100 |
commit | 7a8c46ae1ffe72c3c77274bf4e7828e1363b34e6 (patch) | |
tree | 358ef897952f60e82779f7e46f65a3ad9eb3eef8 /unotools/source | |
parent | cdbd93e9a548d48109f2227bff1d94743e46949b (diff) |
don't need getExecutableDirectory anymore
Diffstat (limited to 'unotools/source')
-rw-r--r-- | unotools/source/config/bootstrap.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx index d5959cd53c28..c2398541b126 100644 --- a/unotools/source/config/bootstrap.cxx +++ b/unotools/source/config/bootstrap.cxx @@ -453,20 +453,6 @@ OUString getExecutableBaseName() return sExecutable; } -// --------------------------------------------------------------------------------------- -static -OUString getExecutableDirectory() -{ - OUString sFileName; - OSL_VERIFY(osl_Process_E_None == osl_getExecutableFile(&sFileName.pData)); - - sal_Int32 nDirEnd = sFileName.lastIndexOf(cURLSeparator); - - OSL_ENSURE(nDirEnd >= 0, "Cannot locate executable directory"); - - return sFileName.copy(0,nDirEnd); -} - // ---------------------------------------------------------------------------------- static |