summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorpragat-pandya <pragat.pandya@gmail.com>2022-03-01 16:56:06 +0530
committerLuboš Luňák <l.lunak@collabora.com>2022-03-05 08:35:23 +0100
commit6f121860d0537060084278da11842732a748d6b7 (patch)
tree6a06a2745d12ffb57d492d4d06c3a37763013d59 /bridges
parent31e0ada711a008d7841a2da243ce50bc49c6c857 (diff)
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.lunak@collabora.com> Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/gcc3_linux_x86-64/cpp2uno.cxx7
1 files changed, 2 insertions, 5 deletions
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;
}