[Libreoffice-commits] core.git: bridges/source

Emircan Agac (via logerrit) logerrit at kemper.freedesktop.org
Mon Sep 6 13:38:22 UTC 2021


 bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7a8ec6cddc9f37ba6ff1a98ad39702521c8fb36b
Author:     Emircan Agac <thesadson at gmail.com>
AuthorDate: Thu Aug 19 23:58:53 2021 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Mon Sep 6 15:37:48 2021 +0200

    tdf#130924 : replace debugging printf calls with SAL_INFO/SAL_WARN
    
    Change-Id: Ifede38f3b19d1e5226e18dba1aa21d478a430d9a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120763
    Tested-by: Jenkins
    Reviewed-by: Hossein <hossein at libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
index d72295039282..6e022515b2d7 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/rtti.cxx
@@ -157,9 +157,9 @@ std::type_info * RTTI::getRTTI(typelib_TypeDescription const & pTypeDescr)
     // symbol and rtti-name is nearly identical,
     // the symbol is prefixed with _ZTI
     char const * rttiName = symName.getStr() +4;
-#if OSL_DEBUG_LEVEL > 1
-    fprintf( stderr,"generated rtti for %s\n", rttiName );
-#endif
+
+    SAL_INFO("bridges", "Generated rtti for" << rttiName);
+
     std::unique_ptr<Generated> newRtti;
     switch (pTypeDescr.eTypeClass) {
     case typelib_TypeClass_EXCEPTION:


More information about the Libreoffice-commits mailing list