summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-08-23 14:23:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-08-23 15:51:26 +0200
commit6a0aeb78e3098e92c09de24bd6036b90a13152f2 (patch)
tree08ee2609530acfd1244211e878187d848ae52358 /vcl/win
parentd4f692db44748def01152425f2ef9df8abf8c5ca (diff)
loplugin:cstylecast (clang-cl)
Change-Id: If33fb9d046ea7d54af16a14a77c76c2e173c0a63 Reviewed-on: https://gerrit.libreoffice.org/59499 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/window/salframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index b2e8bb190578..7b50f7f4cd09 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -5255,8 +5255,8 @@ ImplHandleGetObject(HWND hWnd, LPARAM lParam, WPARAM wParam, LRESULT & nRet)
uno::Reference< accessibility::XMSAAService > xMSAA( pSVData->mxAccessBridge, uno::UNO_QUERY );
if ( xMSAA.is() )
{
- sal_Int32 lParam32 = (sal_Int32)lParam;
- sal_uInt32 wParam32 = (sal_uInt32)wParam;
+ sal_Int32 lParam32 = static_cast<sal_Int32>(lParam);
+ sal_uInt32 wParam32 = static_cast<sal_uInt32>(wParam);
// mhOnSetTitleWnd not set to reasonable value anywhere...
if ( lParam32 == OBJID_CLIENT )