diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-07-04 16:08:13 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-07-04 16:08:13 +0100 |
commit | b95cfee03ca6eb63eb94593ced389c7f442f2d69 (patch) | |
tree | b9f9fc73eebe269cb9a85fe83888bf64d153386e /canvas/source/vcl/canvashelper_texturefill.cxx | |
parent | 37f6fc4933769cb031b63d607a607a42654732f0 (diff) |
fix fdo#51547: revert "Some cppcheck cleaning"
This reverts commit 2f804c94cdaaa9ac047f229509c774dbea1dbcaa.
Diffstat (limited to 'canvas/source/vcl/canvashelper_texturefill.cxx')
-rw-r--r-- | canvas/source/vcl/canvashelper_texturefill.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/canvashelper_texturefill.cxx b/canvas/source/vcl/canvashelper_texturefill.cxx index df293a5919c7..1021d33de702 100644 --- a/canvas/source/vcl/canvashelper_texturefill.cxx +++ b/canvas/source/vcl/canvashelper_texturefill.cxx @@ -683,6 +683,7 @@ namespace vclcanvas { tools::OutDevStateKeeper aStateKeeper( mpProtectedOutDev ); + const int nTransparency( setupOutDevState( viewState, renderState, IGNORE_COLOR ) ); PolyPolygon aPolyPoly( tools::mapPolyPolygon( ::basegfx::unotools::b2DPolyPolygonFromXPolyPolygon2D(xPolyPolygon), viewState, renderState ) ); @@ -710,7 +711,6 @@ namespace vclcanvas } else { - const int nTransparency( setupOutDevState( viewState, renderState, IGNORE_COLOR ) ); std::vector< ::Color > aColors(rValues.maColors.getLength()); std::transform(&rValues.maColors[0], &rValues.maColors[0]+rValues.maColors.getLength(), |