diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-31 14:04:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-31 14:05:11 +0200 |
commit | 0681a6ee2813dd5e8bcf5053cc1f0a2f6b4f8c97 (patch) | |
tree | 828cc05535d6c9dd16b2b45047cce858c6d811c1 /canvas | |
parent | c866ace49f4a394185b412559fbcbb67718a2fcf (diff) |
more SAL_WARN_UNUSED
Change-Id: Idf44fe0302b4504c443f083e527b63b2461ada85
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/opengl/ogl_canvascustomsprite.cxx | 8 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_canvashelper.cxx | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/canvas/source/opengl/ogl_canvascustomsprite.cxx b/canvas/source/opengl/ogl_canvascustomsprite.cxx index d16659896fc4..2a794adec2ca 100644 --- a/canvas/source/opengl/ogl_canvascustomsprite.cxx +++ b/canvas/source/opengl/ogl_canvascustomsprite.cxx @@ -195,14 +195,6 @@ namespace oglcanvas ::basegfx::triangulator::triangulate( ::basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(mxClip))); - basegfx::B2DPolygon rTriangleList( - basegfx::tools::clipTriangleListOnRange( - rTriangulatedPolygon, - basegfx::B2DRange( - 0,0, - aSpriteSizePixel.getX(), - aSpriteSizePixel.getY()))); - glBegin(GL_TRIANGLES); for( sal_uInt32 i=0; i<rTriangulatedPolygon.count(); i++ ) { diff --git a/canvas/source/opengl/ogl_canvashelper.cxx b/canvas/source/opengl/ogl_canvashelper.cxx index a82e73d8c01a..67707bba4c59 100644 --- a/canvas/source/opengl/ogl_canvashelper.cxx +++ b/canvas/source/opengl/ogl_canvashelper.cxx @@ -886,7 +886,6 @@ namespace oglcanvas // setup overall transform only now. View clip above was // relative to view transform - ::basegfx::B2DHomMatrix aTransform; ::canvas::tools::mergeViewAndRenderTransform(o_action.maTransform, viewState, renderState); |