diff options
author | Yli875 <qq3202390739@gmail.com> | 2023-11-07 16:17:03 -0800 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2023-11-13 11:18:33 +0100 |
commit | 2ee71dff5cdc7ddd59f249e97d3c4154fa28d8fd (patch) | |
tree | 08e4c5d830a2e3c7c27253279eced856b2e328a6 /sw | |
parent | 9fc42afd17e9115b488401f64804479e7a76a300 (diff) |
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 <hossein@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8scan.cxx | 2 |
2 files changed, 2 insertions, 4 deletions
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(); } } |