tdf#130924 replace debugging printf with SAL_INFO
DEBUGSPRMREADER was added in616adc49d6,5f653490a4and also inc80a0fcdd9Change-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:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user