From f0de4374fffe7fb72ce0e9006af57092834dfe1e Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Thu, 7 Apr 2016 13:45:11 +0530 Subject: tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I removed the OSL_DEBUG_LEVEL > 1 conditionals with OSL_DEBUG_LEVEL > 0 or SAL_INFO macros Change-Id: Ia2a483ea0f992bf182a6beed2b4558a4fb7c5680 Reviewed-on: https://gerrit.libreoffice.org/23079 Tested-by: Jenkins Reviewed-by: Björn Michaelsen --- canvas/source/tools/surfaceproxy.cxx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'canvas/source/tools') diff --git a/canvas/source/tools/surfaceproxy.cxx b/canvas/source/tools/surfaceproxy.cxx index fd5b8e2f833e..e809ec9a7d56 100644 --- a/canvas/source/tools/surfaceproxy.cxx +++ b/canvas/source/tools/surfaceproxy.cxx @@ -114,18 +114,9 @@ namespace canvas const ::basegfx::B2DPolygon& rTriangulatedPolygon( ::basegfx::triangulator::triangulate(rClipPoly)); -#if OSL_DEBUG_LEVEL > 2 // dump polygons - OSL_TRACE( "Original clip polygon: %s\n" - "Triangulated polygon: %s\n", - OUStringToOString( - basegfx::tools::exportToSvgD( rClipPoly, true, true, false ), - RTL_TEXTENCODING_ASCII_US).getStr(), - OUStringToOString( - basegfx::tools::exportToSvgD( - basegfx::B2DPolyPolygon(rTriangulatedPolygon), true, true, false ), - RTL_TEXTENCODING_ASCII_US).getStr() ); -#endif + SAL_INFO("canvas", "Orignal clip polygon: " << basegfx::tools::exportToSvgD( rClipPoly, true, true, false )); + SAL_INFO("canvas", "Triangulated polygon: " << basegfx::tools::exportToSvgD(basegfx::B2DPolyPolygon(rTriangulatedPolygon), true, true, false )); for( const auto& rSurfacePtr : maSurfaceList ) rSurfacePtr->drawWithClip( fAlpha, rPos, rTriangulatedPolygon, rTransform ); -- cgit