diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-12-22 09:45:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-12-22 10:44:16 +0000 |
commit | 2c6e919854e5a3f9873669d96ac735d1ec670c0d (patch) | |
tree | 84897d3d81933211883d274b3f30024643970429 /drawinglayer | |
parent | 7207e46264b464711874fb6da0f9249cb4cf334c (diff) |
loplugin:redundantfcast (clang-cl)
Change-Id: Ie8fab41974392ddd3774b95ddee6c28e41cb5c36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144739
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/d2dpixelprocessor2d.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/d2dpixelprocessor2d.cxx b/drawinglayer/source/processor2d/d2dpixelprocessor2d.cxx index 13224cd972b6..05640481113a 100644 --- a/drawinglayer/source/processor2d/d2dpixelprocessor2d.cxx +++ b/drawinglayer/source/processor2d/d2dpixelprocessor2d.cxx @@ -1629,8 +1629,7 @@ void D2DPixelProcessor2D::processPolygonStrokePrimitive2D( for (auto& value : rStrokeAttribute.getDotDashArray()) { dashes.push_back( - basegfx::B2DVector(rObjectToView * basegfx::B2DVector(value, 0.0)) - .getLength() + (rObjectToView * basegfx::B2DVector(value, 0.0)).getLength() / fDiscreteLineWidth); } } |