diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:46:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-03 08:59:39 +0000 |
commit | f4826959c1a5b0e6d2849d4240668b2087582848 (patch) | |
tree | 32589cbf4cbdcd20ff09417f4906f10fc7a4525f /cppcanvas/source/tools | |
parent | 83721f4365d234b62f9e3517345c8d3fda19f2c6 (diff) |
new loplugin:unusedenumconstants
These are the simple removals, where it is obviously safe,
the more complex ones will come in separate commits
Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308
Reviewed-on: https://gerrit.libreoffice.org/33828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/tools')
-rw-r--r-- | cppcanvas/source/tools/canvasgraphichelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |