bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx | 4 +--- sc/source/filter/excel/xestream.cxx | 7 +++---- 2 files changed, 4 insertions(+), 7 deletions(-)
New commits: commit 307b1cc494c51c802882ae23029e33a72d57f2a3 Author: ektagoel12 <ektagoel12j...@gmail.com> AuthorDate: Mon Mar 13 19:51:25 2023 +0530 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sat Mar 18 16:39:34 2023 +0000 tdf#130924 replace debugging fprintf calls with SAL_INFO/SAL_WARN Change-Id: I1893e130af2584c1d57c3e37ee3f3ff18c07c077 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148792 Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx index f455be45dc88..11d60fdeab44 100644 --- a/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_sparc64/cpp2uno.cxx @@ -369,10 +369,8 @@ static typelib_TypeClass cpp_mediate( TypeDescription aMemberDescr( pTypeDescr->ppAllMembers[nMemberPos] ); -#if defined BRIDGES_DEBUG OString cstr( OUStringToOString( aMemberDescr.get()->pTypeName, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "calling %s, nFunctionIndex=%d\n", cstr.getStr(), nFunctionIndex ); -#endif + SAL_WARN("bridges", "calling " << cstr.getStr() << ", nFunctionIndex=" << nFunctionIndex); typelib_TypeClass eRet; switch (aMemberDescr.get()->eTypeClass) diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 467dfefd278f..374743786212 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -593,10 +593,9 @@ void XclExpBiff8Encrypter::EncryptBytes( SvStream& rStrm, vector<sal_uInt8>& aBy sal_uInt16 nBlockOffset = GetOffsetInBlock(nStrmPos); sal_uInt32 nBlockPos = GetBlockPos(nStrmPos); -#if DEBUG_XL_ENCRYPTION - fprintf(stdout, "XclExpBiff8Encrypter::EncryptBytes: stream pos = %ld offset in block = %d block pos = %ld\n", - nStrmPos, nBlockOffset, nBlockPos); -#endif + SAL_INFO("sc.filter", "XclExpBiff8Encrypter::EncryptBytes: stream pos = " + << nStrmPos << " offset in block = " << nBlockOffset + << " block pos = " << nBlockPos); sal_uInt16 nSize = static_cast< sal_uInt16 >( aBytes.size() ); if (nSize == 0)