diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-20 15:55:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-21 11:05:05 +0200 |
commit | 1f2ff4a0a31c7919bc6d4e0ac63024252f0bd889 (patch) | |
tree | 3c9747c3141c1078718fe8ebb0e8e8587fbe3418 /toolkit | |
parent | 7aca5ee1192b45d05a601946a5c784b8c5bd61bd (diff) |
loplugin:redundantcast small improvement
Change-Id: I2c96b367138b94d6178a3c4a0f83049f13a04f82
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154679
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/table/gridtablerenderer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/table/gridtablerenderer.cxx b/toolkit/source/controls/table/gridtablerenderer.cxx index cb3fe2ec1228..aa49f4afddc1 100644 --- a/toolkit/source/controls/table/gridtablerenderer.cxx +++ b/toolkit/source/controls/table/gridtablerenderer.cxx @@ -444,7 +444,7 @@ namespace svt::table void GridTableRenderer::impl_paintCellImage( CellRenderContext const & i_context, Image const & i_image ) { - Point imagePos( Point( i_context.aContentArea.Left(), i_context.aContentArea.Top() ) ); + Point imagePos( i_context.aContentArea.Left(), i_context.aContentArea.Top() ); Size imageSize = i_image.GetSizePixel(); if ( i_context.aContentArea.GetWidth() > imageSize.Width() ) { |