summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorKevin Suo <suokunlong@126.com>2021-07-12 09:11:15 +0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-04 07:43:42 +0100
commit2f605009907166d509ccd1dcb6385e5cd456e3e4 (patch)
tree204d24706e3f8a120dedb7617ba2b0d353d6e55c /sdext
parent0a95b424c8fd4eb58b439828120ba631048be32f (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/tree/genericelements.cxx8
1 files changed, 4 insertions, 4 deletions
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