Kaydet (Commit) cf2f0f9c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wint-to-pointer-cast

Change-Id: I6db7d7595fda972e7c5d5c24d235678671478975
üst 1e82a3e6
...@@ -574,7 +574,7 @@ BOOL DocumentHolder::InPlaceMenuCreate() ...@@ -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 ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment