diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 15a34929196d..f265fe6370b4 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -194,8 +194,8 @@ sal_IntPtr UUIInteractionHelper::getstringfromrequest( void* pHandleData,void* pInteractionHelper) { - HandleData* pHND = (HandleData*) pHandleData; - UUIInteractionHelper* pUUI = (UUIInteractionHelper*) pInteractionHelper; + HandleData* pHND = static_cast(pHandleData); + UUIInteractionHelper* pUUI = static_cast(pInteractionHelper); pHND->m_aResult = pUUI->getStringFromRequest_impl(pHND->m_rRequest); pHND->set(); return 0;