summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-14 10:00:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-15 12:18:46 +0100
commit7a8c46ae1ffe72c3c77274bf4e7828e1363b34e6 (patch)
tree358ef897952f60e82779f7e46f65a3ad9eb3eef8 /unotools
parentcdbd93e9a548d48109f2227bff1d94743e46949b (diff)
don't need getExecutableDirectory anymore
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/bootstrap.cxx14
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