[Libreoffice-commits] core.git: desktop/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue Oct 15 10:36:35 UTC 2019
desktop/source/lib/init.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 525163c074785a0b59590ca13f0d1cd6cdc1b2db
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Oct 15 12:36:42 2019 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Oct 15 12:47:19 2019 +0300
Bin a fairly pointless unconditional NSLog() call
Change-Id: I7c1910c3e1bf345966ec289aaf5f9c9b6cbabc22
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 4fb369ac997c..048b358175c4 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -5497,10 +5497,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));
}
}
}
More information about the Libreoffice-commits
mailing list