diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-31 21:53:18 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-15 16:51:59 +0100 |
commit | 5440d47c9cc0ee41ac039809126a6cf215d7ca73 (patch) | |
tree | 5ff9a2ab01855cfcfe2afe8dc295916d2588c8bd /ios/shared | |
parent | 2d8a9811920e572de9dfb28b2e0164dfcb768ddb (diff) |
Use actual executable path in the fake argv
Not that I think it is needed for anything useful, but better to be
correct than to use the leftover "Viewer" name.
Change-Id: I0878d39abf99c9d07807aa6854bfdcf12bc81ab8
Diffstat (limited to 'ios/shared')
-rw-r--r-- | ios/shared/ios_sharedlo/cxx/mlo.mm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ios/shared/ios_sharedlo/cxx/mlo.mm b/ios/shared/ios_sharedlo/cxx/mlo.mm index dc6fa4249e20..b17067b73af7 100644 --- a/ios/shared/ios_sharedlo/cxx/mlo.mm +++ b/ios/shared/ios_sharedlo/cxx/mlo.mm @@ -204,9 +204,7 @@ mlo_initialize(void) const char *argv[] = { - - // "-SAL_LOG=+WARN+INFO", - [[bundlePath stringByAppendingPathComponent: @"Viewer"] UTF8String], + [[[NSBundle mainBundle] executablePath] UTF8String], "-env:URE_INTERNAL_LIB_DIR=file:///", [uno_types UTF8String], [uno_services UTF8String],"--writer"}; |