include/sal/log-areas.dox | 1 + sw/source/filter/ww8/ww8par2.cxx | 4 +--- sw/source/filter/ww8/ww8scan.cxx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-)
New commits: commit 2ee71dff5cdc7ddd59f249e97d3c4154fa28d8fd Author: Yli875 <qq3202390...@gmail.com> AuthorDate: Tue Nov 7 16:17:03 2023 -0800 Commit: Hossein <hoss...@libreoffice.org> CommitDate: Mon Nov 13 11:18:33 2023 +0100 tdf#130924 replace debugging printf with SAL_INFO DEBUGSPRMREADER was added in 616adc49d6fde24e809bd438d8e31de74bcf73ef, 5f653490a40850886f94c9fd6b381b4bed1de58a and also in c80a0fcdd9a4389616e92cfeafa9d932a784ee71 Change-Id: I80ae8a75ac0f40bb633f4c0aee9bdcee0c26adfb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159090 Tested-by: Jenkins Reviewed-by: Hossein <hoss...@libreoffice.org> diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 0b3907e08610..960d89c94214 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -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 diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index faa9d9e45d29..9771910f42d1 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -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(); } diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index c7b175f56e61..b018b5bf796e 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -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(); } }