diff options
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/inc/canvasgraphichelper.hxx | 2 | ||||
-rw-r--r-- | cppcanvas/source/tools/canvasgraphichelper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx index b992b1d409b0..6a091d78895a 100644 --- a/cppcanvas/source/inc/canvasgraphichelper.hxx +++ b/cppcanvas/source/inc/canvasgraphichelper.hxx @@ -50,7 +50,7 @@ namespace cppcanvas virtual void setTransformation( const ::basegfx::B2DHomMatrix& rMatrix ) override; virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ) override; virtual void setClip() override; - virtual void setCompositeOp( CompositeOp aOp ) override; + virtual void setCompositeOp( sal_Int8 aOp ) override; protected: // for our clients diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx index 795d4a2056a4..56b0f7543790 100644 --- a/cppcanvas/source/tools/canvasgraphichelper.cxx +++ b/cppcanvas/source/tools/canvasgraphichelper.cxx @@ -93,9 +93,9 @@ namespace cppcanvas return maRenderState; } - void CanvasGraphicHelper::setCompositeOp( CompositeOp aOp ) + void CanvasGraphicHelper::setCompositeOp( sal_Int8 aOp ) { - maRenderState.CompositeOperation = (sal_Int8)aOp; + maRenderState.CompositeOperation = aOp; } } |