diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindow1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindow1.cxx b/toolkit/source/awt/vclxwindow1.cxx index ef471500df49..cbace5c381c5 100644 --- a/toolkit/source/awt/vclxwindow1.cxx +++ b/toolkit/source/awt/vclxwindow1.cxx @@ -78,7 +78,7 @@ void VCLXWindow::SetSystemParent_Impl( const css::uno::Any& rHandle ) SystemParentData aSysParentData; aSysParentData.nSize = sizeof ( SystemParentData ); #if defined(_WIN32) - aSysParentData.hWnd = (HWND) nHandle; + aSysParentData.hWnd = reinterpret_cast<HWND>(nHandle); #elif defined( MACOSX ) aSysParentData.pView = reinterpret_cast<NSView*>(nHandle); #elif defined( ANDROID ) |