sdext/source/pdfimport/tree/genericelements.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 2f605009907166d509ccd1dcb6385e5cd456e3e4 Author: Kevin Suo <[email protected]> AuthorDate: Mon Jul 12 09:11:15 2021 +0800 Commit: Noel Grandin <[email protected]> CommitDate: Fri Feb 4 07:43:42 2022 +0100 sdext.pdfimport: these SAL_WARN should be SAL_INFO SAL_WARN should be some message which showns where the program runs abnormally. Normal debugging output code should be SAL_INFO, and if you have set it to SAL_WARN for easy debugging you should set it back to SAL_INFO or delete those lines when submit. Otherwise our dbgutil terminal will be flood with unrelated messages Change-Id: I0767bfbeb7a21f208be12208009ccda8b6c72bab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118763 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sdext/source/pdfimport/tree/genericelements.cxx b/sdext/source/pdfimport/tree/genericelements.cxx index b02e2c0a727d..2c394c973bf0 100644 --- a/sdext/source/pdfimport/tree/genericelements.cxx +++ b/sdext/source/pdfimport/tree/genericelements.cxx @@ -156,8 +156,8 @@ void PolyPolyElement::visitedBy( ElementTreeVisitor& rV #if OSL_DEBUG_LEVEL > 0 void PolyPolyElement::emitStructure( int nLevel) { - SAL_WARN( "sdext", std::string(nLevel, ' ') << "<" << typeid( *this ).name() << " " << this << ">" ); - SAL_WARN( "sdext", "path=" ); + SAL_INFO( "sdext", std::string(nLevel, ' ') << "<" << typeid( *this ).name() << " " << this << ">" ); + SAL_INFO( "sdext", "path=" ); int nPoly = PolyPoly.count(); for( int i = 0; i < nPoly; i++ ) { @@ -169,11 +169,11 @@ void PolyPolyElement::emitStructure( int nLevel) basegfx::B2DPoint aPoint = aPoly.getB2DPoint( n ); buff.append( " (" + OUString::number(aPoint.getX()) + "," + OUString::number(aPoint.getY()) + ")"); } - SAL_WARN( "sdext", " " << buff.makeStringAndClear() ); + SAL_INFO( "sdext", " " << buff.makeStringAndClear() ); } for (auto const& child : Children) child->emitStructure( nLevel+1 ); - SAL_WARN( "sdext", std::string(nLevel, ' ') << "</" << typeid( *this ).name() << ">"); + SAL_INFO( "sdext", std::string(nLevel, ' ') << "</" << typeid( *this ).name() << ">"); } #endif
