summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-31 22:20:32 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-01 00:20:28 +0200
commit13c3ab57892ab7553c3c4eb65ed6cd9344751f67 (patch)
tree93a91f18a239eb1103083f98560297342531d18d /ios
parent8204fadf2089d1c0eeb65a409fe3964d1537c765 (diff)
Use actual executable path
Change-Id: I75ffc83be6af34b09b4a98a5890b3585b4a76bde
Diffstat (limited to 'ios')
-rw-r--r--ios/experimental/LibreOffice/LibreOffice/lo.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/experimental/LibreOffice/LibreOffice/lo.mm b/ios/experimental/LibreOffice/LibreOffice/lo.mm
index 16d07525cd2e..eec4c43417af 100644
--- a/ios/experimental/LibreOffice/LibreOffice/lo.mm
+++ b/ios/experimental/LibreOffice/LibreOffice/lo.mm
@@ -155,7 +155,7 @@ lo_initialize(void)
const int argc = sizeof(argv)/sizeof(*argv);
- argv[0] = [[[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent: @"LibreOffice"] UTF8String];
+ argv[0] = [[[NSBundle mainBundle] executablePath] UTF8String];
NSString *app_root_escaped = [[[NSBundle mainBundle] bundlePath] stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding];