summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:46:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-15 07:59:19 +0000
commitd714c04513927524b9208868b8610b94ea99312a (patch)
tree3e4254f25cc4f2f3b72988023ee40a5f32ad8555 /toolkit
parentce8bb761f39db039fca2e312348a263d7fd7bf19 (diff)
clang-cl loplugin: toolkit
Change-Id: I2f3c1416e1550c511c21ebf609f0f4465e8568cb Reviewed-on: https://gerrit.libreoffice.org/29847 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'toolkit')
-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 )