summaryrefslogtreecommitdiffstats
path: root/canvas
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-19 11:19:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-19 17:31:41 +0200
commitd34a43701d2bdd7c006497904e962d09eb31ac58 (patch)
tree0eb259af1054bc352e593f8fee8583983f4ff08a /canvas
parentremove using namespace css in justify.hxx. (diff)
downloadcore-d34a43701d2bdd7c006497904e962d09eb31ac58.tar.gz
core-d34a43701d2bdd7c006497904e962d09eb31ac58.zip
loplugin:redundantcast
Change-Id: I1d9bebc5bc0b32e71694915070a8770b3ca601c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134606 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_9rm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index 65499f2b55fe..98c4c14b91ee 100644
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -569,7 +569,7 @@ namespace dxcanvas
const HWND hwnd(reinterpret_cast<HWND>(pData->hWnd));
mhWnd = hwnd;
- ENSURE_OR_THROW( IsWindow( reinterpret_cast<HWND>(mhWnd) ),
+ ENSURE_OR_THROW( IsWindow( mhWnd ),
"DXRenderModule::create() No valid HWND given." );
// retrieve position and size of the parent window