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 /vcl | |
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 'vcl')
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index 79d966383877..6e5575b9013c 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -1519,7 +1519,7 @@ void Window::ImplPosSizeWindow( tools::Long nX, tools::Long nY, if ( nFlags & PosSizeFlags::X ) { tools::Long nOrgX = nX; - Point aPtDev( Point( nX+GetOutDev()->mnOutOffX, 0 ) ); + Point aPtDev( nX+GetOutDev()->mnOutOffX, 0 ); OutputDevice *pOutDev = GetOutDev(); if( pOutDev->HasMirroredGraphics() ) { |