[Libreoffice-commits] core.git: vcl/win

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 23 13:51:53 UTC 2018


 vcl/win/window/salframe.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6a0aeb78e3098e92c09de24bd6036b90a13152f2
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 23 14:23:06 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Aug 23 15:51:26 2018 +0200

    loplugin:cstylecast (clang-cl)
    
    Change-Id: If33fb9d046ea7d54af16a14a77c76c2e173c0a63
    Reviewed-on: https://gerrit.libreoffice.org/59499
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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 )


More information about the Libreoffice-commits mailing list