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 8b0cbe1320b3..9a78589ded58 100644
--- a/toolkit/source/awt/vclxwindow1.cxx
+++ b/toolkit/source/awt/vclxwindow1.cxx
@@ -84,7 +84,7 @@ void VCLXWindow::SetSystemParent_Impl( const css::uno::Any& rHandle )
#elif defined( IOS )
// Nothing
#elif defined( UNX )
- aSysParentData.aWindow = static_cast<long>(nHandle);
+ aSysParentData.aWindow = nHandle;
aSysParentData.bXEmbedSupport = bXEmbed;
#endif