summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 08:59:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 07:47:30 +0000
commit7662e92c64ec194a2089f633a363d9dc45a4aa9d (patch)
tree1086154f31c0c9c6386b44ab83bd382f5308df8c /cppcanvas
parent823a8f3117a8be1de92168226f561ed804db3e93 (diff)
loplugin:redundantcast find cstyle double casts
Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8 Reviewed-on: https://gerrit.libreoffice.org/36187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/mtftools.cxx b/cppcanvas/source/mtfrenderer/mtftools.cxx
index a9ceb98c5594..4432e7196386 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.cxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.cxx
@@ -199,10 +199,10 @@ namespace cppcanvas
::basegfx::B2DPolyPolygon(
::basegfx::tools::createPolygonFromRect(
::basegfx::B2DRectangle(
- (double)(aLocalClipRect.Left() - rOffset.getX())/pScaling->getX(),
- (double)(aLocalClipRect.Top() - rOffset.getY())/pScaling->getY(),
- (double)(aLocalClipRect.Right() - rOffset.getX())/pScaling->getX(),
- (double)(aLocalClipRect.Bottom() - rOffset.getY())/pScaling->getY() ) ) ) );
+ (aLocalClipRect.Left() - rOffset.getX())/pScaling->getX(),
+ (aLocalClipRect.Top() - rOffset.getY())/pScaling->getY(),
+ (aLocalClipRect.Right() - rOffset.getX())/pScaling->getX(),
+ (aLocalClipRect.Bottom() - rOffset.getY())/pScaling->getY() ) ) ) );
}
else
{