-Werror,-Wint-to-pointer-cast
Change-Id: I6db7d7595fda972e7c5d5c24d235678671478975
This commit is contained in:
@@ -574,7 +574,7 @@ BOOL DocumentHolder::InPlaceMenuCreate()
|
|||||||
uno::Sequence<sal_Int8> aProcessIdent(16);
|
uno::Sequence<sal_Int8> aProcessIdent(16);
|
||||||
rtl_getGlobalProcessId((sal_uInt8*)aProcessIdent.getArray());
|
rtl_getGlobalProcessId((sal_uInt8*)aProcessIdent.getArray());
|
||||||
uno::Any aAny = xSysDepWin->getWindowHandle(aProcessIdent,lang::SystemDependent::SYSTEM_WIN32);
|
uno::Any aAny = xSysDepWin->getWindowHandle(aProcessIdent,lang::SystemDependent::SYSTEM_WIN32);
|
||||||
sal_Int32 tmp;
|
sal_Int64 tmp;
|
||||||
aAny >>= tmp;
|
aAny >>= tmp;
|
||||||
HWND aHwnd = (HWND) tmp;
|
HWND aHwnd = (HWND) tmp;
|
||||||
m_pIOleIPFrame->SetMenu(
|
m_pIOleIPFrame->SetMenu(
|
||||||
@@ -1256,7 +1256,7 @@ css::uno::Reference< css::awt::XWindow> SAL_CALL DocumentHolder::getContainerWin
|
|||||||
if(xSysWin.is()) {
|
if(xSysWin.is()) {
|
||||||
aAny = xSysWin->getWindowHandle(
|
aAny = xSysWin->getWindowHandle(
|
||||||
aProcessIdent,lang::SystemDependent::SYSTEM_WIN32);
|
aProcessIdent,lang::SystemDependent::SYSTEM_WIN32);
|
||||||
sal_Int32 tmp;
|
sal_Int64 tmp;
|
||||||
if( aAny >>= tmp )
|
if( aAny >>= tmp )
|
||||||
SetContainerWindowHandle((HWND) tmp);
|
SetContainerWindowHandle((HWND) tmp);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user