diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-03-20 16:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-03-20 20:48:03 +0100 |
commit | e333b4fdc3d742d98432da609b6622e97c4b7a6b (patch) | |
tree | 2b7a43afffca6eb31718962410de18b3d41bd547 /embedserv | |
parent | f8cbd021208a2b03dc223e2094390166d966d46c (diff) |
-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>
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 4db6abd25235..72327def556d 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -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); |