-Werror,-Wpointer-to-int-cast (LLVM 10 trunk clang-cl)

The receiving end, VCLXToolkit::createSystemChild in
toolkit/source/awt/vclxtoolkit.cxx, already extracts a sal_Int64 from the Any.

Change-Id: I758345281a9aafa4eaa27dd31e47e43981df205a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90826
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2020-03-20 16:57:02 +01:00
parent f8cbd02120
commit e333b4fdc3

View file

@ -284,7 +284,7 @@ HRESULT DocumentHolder::InPlaceActivate(
xWin.set(
xToolkit->createSystemChild(
uno::Any(sal_Int32(hWndxWinParent)),
uno::Any(sal_Int64(hWndxWinParent)),
aProcessIdent,
lang::SystemDependent::SYSTEM_WIN32),
uno::UNO_QUERY);
@ -1209,7 +1209,7 @@ css::uno::Reference< css::awt::XWindow> SAL_CALL DocumentHolder::getContainerWin
xWin.set(
xToolkit->createSystemChild(
uno::Any(sal_Int32(hWnd)),
uno::Any(sal_Int64(hWnd)),
aProcessIdent,
lang::SystemDependent::SYSTEM_WIN32),
uno::UNO_QUERY);