diff options
-rw-r--r-- | ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm b/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm index 8a55107636a0..de02cff3706b 100644 --- a/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm +++ b/ios/experimental/TiledLibreOffice/TiledLibreOffice/lo.mm @@ -63,18 +63,18 @@ extern "C" void lo_initialize(NSString *documentPath) } else { UErrorCode icuStatus = U_ZERO_ERROR; udata_setCommonData(icudata, &icuStatus); +#if OSL_DEBUG_LEVEL > 0 if (U_FAILURE(icuStatus)) NSLog(@"udata_setCommonData failed"); else { -#if OSL_DEBUG_LEVEL > 0 // Test that ICU works... UConverter *cnv = ucnv_open("iso-8859-3", &icuStatus); NSLog(@"ucnv_open(iso-8859-3)-> %p, err = %s, name=%s", (void *)cnv, u_errorName(icuStatus), (!cnv)?"?":ucnv_getName(cnv,&icuStatus)); if (U_SUCCESS(icuStatus)) ucnv_close(cnv); -#endif } +#endif } } close(fd); |