tdf#130924 replace debugging printf with SAL_INFO

DEBUGSPRMREADER was added in 616adc49d6,
5f653490a4 and also in
c80a0fcdd9

Change-Id: I80ae8a75ac0f40bb633f4c0aee9bdcee0c26adfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159090
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
Yli875
2023-11-13 11:18:33 +01:00
committed by Hossein
parent 9fc42afd17
commit 2ee71dff5c
3 changed files with 3 additions and 4 deletions
+1
View File
@@ -557,6 +557,7 @@ certain functionality.
@li @c sw.pageframe - debug lifecycle of SwPageFrame
@li @c sw.qa
@li @c sw.rtf - .rtf export filter
@li @c sw.sprmreader
@li @c sw.tiled
@li @c sw.ui
@li @c sw.uno - Writer UNO interfaces
+1 -3
View File
@@ -3618,9 +3618,7 @@ void WW8RStyle::ImportSprms(sal_uInt8 *pSprms, short nLen, bool bPap)
WW8SprmIter aSprmIter(pSprms, nLen, maSprmParser);
while (const sal_uInt8* pSprm = aSprmIter.GetSprms())
{
#ifdef DEBUGSPRMREADER
fprintf(stderr, "id is %x\n", aIter.GetCurrentId());
#endif
SAL_INFO("sw.sprmreader", "id is " << std::hex << aSprmIter.GetCurrentId());
mpIo->ImportSprm(pSprm, aSprmIter.GetRemLen(), aSprmIter.GetCurrentId());
aSprmIter.advance();
}
+1 -1
View File
@@ -2841,7 +2841,7 @@ WW8PLCFx_Fc_FKP::WW8Fkp::WW8Fkp(const WW8Fib& rFib, SvStream* pSt,
WW8SprmIter aIter(pSprms, nLen, maSprmParser);
while (aIter.GetSprms())
{
fprintf(stderr, "id is %x\n", aIter.GetCurrentId());
SAL_INFO("sw.sprmreader", "id is " << std::hex << aIter.GetCurrentId());
aIter.advance();
}
}