-Werror,-Wint-to-pointer-cast

Change-Id: I6db7d7595fda972e7c5d5c24d235678671478975
This commit is contained in:
Stephan Bergmann
2015-11-19 21:05:04 +01:00
parent 1e82a3e6e3
commit cf2f0f9c20

View File

@@ -574,7 +574,7 @@ BOOL DocumentHolder::InPlaceMenuCreate()
uno::Sequence<sal_Int8> aProcessIdent(16);
rtl_getGlobalProcessId((sal_uInt8*)aProcessIdent.getArray());
uno::Any aAny = xSysDepWin->getWindowHandle(aProcessIdent,lang::SystemDependent::SYSTEM_WIN32);
sal_Int32 tmp;
sal_Int64 tmp;
aAny >>= tmp;
HWND aHwnd = (HWND) tmp;
m_pIOleIPFrame->SetMenu(
@@ -1256,7 +1256,7 @@ css::uno::Reference< css::awt::XWindow> SAL_CALL DocumentHolder::getContainerWin
if(xSysWin.is()) {
aAny = xSysWin->getWindowHandle(
aProcessIdent,lang::SystemDependent::SYSTEM_WIN32);
sal_Int32 tmp;
sal_Int64 tmp;
if( aAny >>= tmp )
SetContainerWindowHandle((HWND) tmp);
}