Kaydet (Commit) 003a05b2 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Must pass the test document as a file: URI because it is percent-escaped

Change-Id: I8e27f0cb4a9605a97d8120f9f4697e7f939135c1
üst b3c914ff
...@@ -178,7 +178,9 @@ lo_initialize(void) ...@@ -178,7 +178,9 @@ lo_initialize(void)
argv[3] = [uno_services UTF8String]; argv[3] = [uno_services UTF8String];
assert(strcmp(argv[4], "placeholder-document") == 0); assert(strcmp(argv[4], "placeholder-document") == 0);
argv[4] = [[app_root_escaped stringByAppendingPathComponent: @"test1.odt"] UTF8String]; NSString *file = @"file://";
file = [file stringByAppendingString: [app_root_escaped stringByAppendingPathComponent: @"test1.odt"]];
argv[4] = [file UTF8String];
osl_setCommandArgs(argc, (char **) argv); osl_setCommandArgs(argc, (char **) argv);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment