diff options
author | Tor Lillqvist <tml@iki.fi> | 2018-11-01 23:28:03 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-11-02 00:35:10 +0200 |
commit | bee3790d547506500dc195eebfa8735bb8fba2d9 (patch) | |
tree | 4a2ab1c9de941e5cbf56c47769943243ff28f40f /desktop/source | |
parent | 9cdcc1b7df5bbd0262a1335bd2f3bc8713e19c97 (diff) |
We now use a fixed name ICU data file in the iOS app
That makes it much easier to use the same Xcode project file when
building against different versions of LibreOffice, with different ICU
data files. The configure script in the "online" directory creates a
ICU.dat symlink to the ICU data file (with a name like icudt60l.dat in
a 6.0 branch, or icudt63l.dat in a current master) in the LibreOffice
build directory, and that is what gets copied into the app bundle.
Change-Id: Ibe2ca85f66e2d4973d6ba3c52fc4d60e113d8f9a
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/lib/init.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 040218c1e314..fca76934088c 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -4103,9 +4103,9 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char // to use that. NSString *bundlePath = [[NSBundle mainBundle] bundlePath]; - int fd = open([[bundlePath stringByAppendingPathComponent:@U_ICUDATA_NAME".dat"] UTF8String], O_RDONLY); + int fd = open([[bundlePath stringByAppendingPathComponent:@"ICU.dat"] UTF8String], O_RDONLY); if (fd == -1) - NSLog(@"Could not open ICU data file %s", [[bundlePath stringByAppendingPathComponent:@U_ICUDATA_NAME".dat"] UTF8String]); + NSLog(@"Could not open ICU data file %s", [[bundlePath stringByAppendingPathComponent:@"ICU.dat"] UTF8String]); else { struct stat st; |