From d5a8b4a9cf542b6567ccd69a67a96ade941cfba3 Mon Sep 17 00:00:00 2001 From: sj Date: Fri, 11 Dec 2009 12:22:43 +0100 Subject: impress181: #i107614#: fixed build error, dxerr9.h has been renamed to dxerr.h in the latest DirectX SDK from August 2009 --- canvas/source/directx/dx_winstuff.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'canvas') diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx index 1c64506c0f21..47658991e74b 100755 --- a/canvas/source/directx/dx_winstuff.hxx +++ b/canvas/source/directx/dx_winstuff.hxx @@ -89,7 +89,7 @@ #include #include - #include +// #include #i107614# removing include, it has been changed in the latest sdk fron August2009 from dxerr9.h into dxerr.h typedef IDirect3DSurface9 surface_type; @@ -97,11 +97,11 @@ #undef DrawText -#ifdef __MINGW32__ -using ::std::max; -using ::std::min; -#endif - +#ifdef __MINGW32__ +using ::std::max; +using ::std::min; +#endif + #include #ifdef min -- cgit v1.2.3 From dcbaee1e7d51a7645ce5236b9c8d78736a51c326 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Thu, 14 Jan 2010 17:37:57 +0100 Subject: masterfix: #i108160# build error fixed --- canvas/source/cairo/cairo_canvashelper.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'canvas') diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx index 5469010f2745..7a5e81a5512a 100644 --- a/canvas/source/cairo/cairo_canvashelper.cxx +++ b/canvas/source/cairo/cairo_canvashelper.cxx @@ -990,7 +990,8 @@ namespace cairocanvas aEdge.setNextControlPoint(0, aCandidate.getNextControlPoint(a)); aEdge.setPrevControlPoint(1, aCandidate.getPrevControlPoint(nNextIndex)); - doPolyPolygonImplementation( aEdge, aOperation, + doPolyPolygonImplementation( basegfx::B2DPolyPolygon(aEdge), + aOperation, pCairo, pTextures, mpSurfaceProvider, xPolyPolygon->getFillRule() ); @@ -1187,7 +1188,7 @@ namespace cairocanvas cairo_save( mpCairo.get() ); useStates( viewState, renderState, true ); - doPolyPolygonPath( xPolyPolygon, Fill, &textures ); + doPolyPolygonPath( xPolyPolygon, Fill, false, &textures ); cairo_restore( mpCairo.get() ); } -- cgit v1.2.3