[Libreoffice-commits] core.git: embedserv/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 20 19:48:27 UTC 2020
embedserv/source/embed/docholder.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e333b4fdc3d742d98432da609b6622e97c4b7a6b
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Mar 20 16:57:02 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Mar 20 20:48:03 2020 +0100
-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 at redhat.com>
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);
More information about the Libreoffice-commits
mailing list