summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 08:07:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-13 08:14:00 +0200
commit3a705ab40597f7cb584bdeaef06701b289f911f1 (patch)
tree70d0b6bbf26c8ad07d8f1ced8e06c9eef02b6dc9 /canvas
parentc3586b684c58e06cd80dea87d7681354acfec80b (diff)
OSL_TRACE->SAL in avmedia..canvas
Change-Id: Id9077ea29e7028c12f40abfd4c57756c863e3cd9
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_canvashelper_text.cxx3
-rw-r--r--canvas/source/tools/surface.cxx6
2 files changed, 0 insertions, 9 deletions
diff --git a/canvas/source/cairo/cairo_canvashelper_text.cxx b/canvas/source/cairo/cairo_canvashelper_text.cxx
index ff4edd133942..72084aee8ddb 100644
--- a/canvas/source/cairo/cairo_canvashelper_text.cxx
+++ b/canvas/source/cairo/cairo_canvashelper_text.cxx
@@ -300,9 +300,6 @@ namespace cairocanvas
clip_cairo_from_dev(*mpVirtualDevice);
- OSL_TRACE(":cairocanvas::CanvasHelper::drawText(O,t,f,v,r,d): %s", OUStringToOString( text.Text.copy( text.StartPosition, text.Length ),
- RTL_TEXTENCODING_UTF8 ).getStr());
-
rtl::Reference< TextLayout > pTextLayout( new TextLayout(text, textDirection, 0, CanvasFont::Reference(dynamic_cast< CanvasFont* >( xFont.get() )), mpSurfaceProvider) );
pTextLayout->draw(mpCairo, *mpVirtualDevice, aOutpos, viewState, renderState);
}
diff --git a/canvas/source/tools/surface.cxx b/canvas/source/tools/surface.cxx
index ec924f7d4e49..e596ea535dae 100644
--- a/canvas/source/tools/surface.cxx
+++ b/canvas/source/tools/surface.cxx
@@ -379,12 +379,6 @@ namespace canvas
vertex.a = static_cast<float>(fAlpha);
vertex.z = 0.0f;
-#if defined(TRIANGLE_LOG) && defined(DBG_UTIL)
- OSL_TRACE( "Surface::draw(): numvertices %d numtriangles %d\n",
- nVertexCount,
- nVertexCount/3 );
-#endif
-
pRenderModule->beginPrimitive( canvas::IRenderModule::PrimitiveType::Triangle );
// issue an endPrimitive() when leaving the scope