summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow1.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:13:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:13:22 +0100
commit75ca2d04abc96f88ee63852e070f84984f27ad3f (patch)
tree39be302f78a5c274df2d721cb1a3072644e7a964 /toolkit/source/awt/vclxwindow1.cxx
parent8456c2ba408b3bed160d3e5f050738301b225bd5 (diff)
More loplugin:cstylecast: toolkit
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Iaee0fee0cbc6e5311342b83d847cb89bd1056973
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 613fbb0b1fe8..f774ab13ab51 100644
--- a/toolkit/source/awt/vclxwindow1.cxx
+++ b/toolkit/source/awt/vclxwindow1.cxx
@@ -86,7 +86,7 @@ void VCLXWindow::SetSystemParent_Impl( const css::uno::Any& rHandle )
#elif defined( IOS )
// Nothing
#elif defined( UNX )
- aSysParentData.aWindow = (long)nHandle;
+ aSysParentData.aWindow = static_cast<long>(nHandle);
aSysParentData.bXEmbedSupport = bXEmbed;
#endif