summaryrefslogtreecommitdiff
path: root/canvas/source/tools
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-04-07 13:45:11 +0530
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-04-07 12:15:50 +0000
commitf0de4374fffe7fb72ce0e9006af57092834dfe1e (patch)
tree5d4f6186bc5aaf5769556981f3610e214166fb33 /canvas/source/tools
parente214df32fb3637bd7810a299fb8b38810b1a3874 (diff)
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
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 <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'canvas/source/tools')
-rw-r--r--canvas/source/tools/surfaceproxy.cxx13
1 files changed, 2 insertions, 11 deletions
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 );