summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxwindow1.cxx')
-rw-r--r--toolkit/source/awt/vclxwindow1.cxx2
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 )