bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx |    7 ++-----
 include/sal/log-areas.dox                            |    1 +
 2 files changed, 3 insertions(+), 5 deletions(-)

New commits:
commit 6f121860d0537060084278da11842732a748d6b7
Author:     pragat-pandya <pragat.pan...@gmail.com>
AuthorDate: Tue Mar 1 16:56:06 2022 +0530
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Sat Mar 5 08:35:23 2022 +0100

    tdf#130924 replace debugging printf calls with SAL_INFO/SAL_WARN
    
    Change-Id: Iaef5eec6508d031ab711a71c0d8ecebb18112ef6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130764
    Tested-by: Luboš Luňák <l.lu...@collabora.com>
    Reviewed-by: Luboš Luňák <l.lu...@collabora.com>

diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx 
b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
index de393582f99a..48d8d174fb6a 100644
--- a/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx
@@ -442,11 +442,8 @@ static unsigned char * codeSnippet( unsigned char * code,
     // jmpq *%r11
     *reinterpret_cast<sal_uInt32 *>( code + 20 ) = 0x00e3ff49;
 
-#if OSL_DEBUG_LEVEL > 1
-    fprintf(stderr,
-            "==> codeSnippet, functionIndex=%d%s, vtableOffset=%d\n",
-            nFunctionIndex, (bHasHiddenParam ? "|0x80000000":""), 
nVtableOffset);
-#endif
+    SAL_INFO("bridges.debug", "==> codeSnippet, functionIndex=" << 
nFunctionIndex
+            << (bHasHiddenParam ? "|0x80000000":"") << ", vtableOffset=" << 
nVtableOffset);
 
     return code + codeSnippetSize;
 }
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox
index 7d61cfd3d3cd..b0e10c48fa2d 100644
--- a/include/sal/log-areas.dox
+++ b/include/sal/log-areas.dox
@@ -47,6 +47,7 @@ certain functionality.
 @li @c bridges
 @li @c bridges.ios
 @li @c bridges.osx
+@li @c bridges.debug
 
 @section canvas
 

Reply via email to