From 33875d862ad5d870cfd1f67d5ef9ad91b8be740f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 28 Mar 2015 19:08:20 +0100 Subject: Clean up C-style casts from pointers to void Change-Id: I9622ea906878cd8ed8235bfd4a84217817c132cc --- uui/source/iahndl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- cgit