diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-10-15 12:36:42 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-10-31 09:48:45 +0100 |
commit | 0ab5be0e1e2a0149d57549613c32cee3668a7ac1 (patch) | |
tree | 1901a3101ba5e361b8036d85a808e85dd1a11a53 /desktop | |
parent | 19901a9795bdcf0673f67009d32509bec534c09b (diff) |
Bin a fairly pointless unconditional NSLog() call
Change-Id: I7c1910c3e1bf345966ec289aaf5f9c9b6cbabc22
(cherry picked from commit 525163c074785a0b59590ca13f0d1cd6cdc1b2db)
Reviewed-on: https://gerrit.libreoffice.org/81823
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'desktop')
-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 d316997bab46..3124e999fe56 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -5589,10 +5589,10 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath, const char { // Quick 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); + else + NSLog(@"ucnv_open() failed: %s", u_errorName(icuStatus)); } } } |